Merge branch 'main' of github.com:bloxx12/nichts

This commit is contained in:
LarsZauberer 2024-04-17 10:45:31 +02:00
commit b1ae9dfb19
6 changed files with 31 additions and 2 deletions

View file

@ -35,6 +35,7 @@
extraAliases = { extraAliases = {
cls = "clear"; cls = "clear";
Hyprland = "dbus-run-session Hyprland"; Hyprland = "dbus-run-session Hyprland";
y = "yazi";
}; };
ohmyzsh = { ohmyzsh = {
enable = true; enable = true;
@ -112,6 +113,10 @@
twingate.enable = true; twingate.enable = true;
}; };
# SSH AGENT
programs.ssh.startAgent = true;
services.gnome3.gnome-keyring.enable = false;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
} }

View file

@ -5,5 +5,6 @@ _: {
../../../options/common/networking.nix ../../../options/common/networking.nix
../../../options/common/pin-registry.nix ../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix ../../../options/common/preserve-system.nix
../../../options/common/bluetooth.nix
]; ];
} }

View file

@ -107,6 +107,7 @@ in {
"$mod, o, exec, obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" "$mod, o, exec, obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
"$mod SHIFT, D, exec, webcord --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" "$mod SHIFT, D, exec, webcord --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
"$mod SHIFT, L, exec, element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" "$mod SHIFT, L, exec, element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
"$mod, v, exec, vivaldi --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
# Monitor management # Monitor management
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2" "$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"

View file

@ -6,5 +6,6 @@ _: {
../../../options/common/gpu/nvidia.nix ../../../options/common/gpu/nvidia.nix
../../../options/common/pin-registry.nix ../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix ../../../options/common/preserve-system.nix
../../../options/common/bluetooth.nix
]; ];
} }

View file

@ -58,6 +58,8 @@ in {
element-desktop element-desktop
swww swww
toipe toipe
keepassxc
vivaldi
]; ];
}; };
} }

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
let
username = config.modules.other.system.username;
in {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
# Bluetooth headset media control buttons
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
}