diff --git a/hosts/lars/default.nix b/hosts/lars/default.nix index 6915250..448437f 100644 --- a/hosts/lars/default.nix +++ b/hosts/lars/default.nix @@ -34,7 +34,8 @@ profiling = false; extraAliases = { cls = "clear"; - Hyprland = "dbus-run-session Hyprland"; + Hyprland = "dbus-run-session Hyprland"; + y = "yazi"; }; ohmyzsh = { enable = true; @@ -112,6 +113,10 @@ twingate.enable = true; }; + # SSH AGENT + programs.ssh.startAgent = true; + services.gnome3.gnome-keyring.enable = false; + system.stateVersion = "23.11"; nix.settings.experimental-features = ["nix-command" "flakes"]; } diff --git a/hosts/lars/dyonisos/profile.nix b/hosts/lars/dyonisos/profile.nix index d4fe1e8..33aae1b 100644 --- a/hosts/lars/dyonisos/profile.nix +++ b/hosts/lars/dyonisos/profile.nix @@ -5,5 +5,6 @@ _: { ../../../options/common/networking.nix ../../../options/common/pin-registry.nix ../../../options/common/preserve-system.nix + ../../../options/common/bluetooth.nix ]; } diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix index 5d80b16..63cfa79 100644 --- a/hosts/lars/hyprland.nix +++ b/hosts/lars/hyprland.nix @@ -107,6 +107,7 @@ in { "$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, 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 "$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2" diff --git a/hosts/lars/kronos/profile.nix b/hosts/lars/kronos/profile.nix index 30407f5..e567018 100644 --- a/hosts/lars/kronos/profile.nix +++ b/hosts/lars/kronos/profile.nix @@ -6,5 +6,6 @@ _: { ../../../options/common/gpu/nvidia.nix ../../../options/common/pin-registry.nix ../../../options/common/preserve-system.nix + ../../../options/common/bluetooth.nix ]; } diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index 35d5eee..6198624 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -56,8 +56,10 @@ in { xdg-utils # xdg-mime script webcord element-desktop - swww + swww toipe + keepassxc + vivaldi ]; }; } diff --git a/options/common/bluetooth.nix b/options/common/bluetooth.nix new file mode 100644 index 0000000..3d24814 --- /dev/null +++ b/options/common/bluetooth.nix @@ -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"; + }; +}