diff --git a/hosts/common/graphical/default.nix b/hosts/common/graphical/default.nix index 02ca99e..25fbe3e 100644 --- a/hosts/common/graphical/default.nix +++ b/hosts/common/graphical/default.nix @@ -14,6 +14,8 @@ programs.nm-applet.enable = true; programs.partition-manager.enable = true; + security.pam.services.swaylock = {}; + age.secrets = { age_identity = { file = ../../../secrets/age_identity.age; diff --git a/users/daniel/configs/desktop/hyprland/hyprland.conf b/users/daniel/configs/desktop/hyprland/hyprland.conf index a06a1b1..43c5f66 100644 --- a/users/daniel/configs/desktop/hyprland/hyprland.conf +++ b/users/daniel/configs/desktop/hyprland/hyprland.conf @@ -145,6 +145,8 @@ bind = $mainMod, I, movetoworkspace, +1 bind = $mainMod SHIFT, space, togglefloating, +bind=$mainMod, escape, exec, swaylock + binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ diff --git a/users/daniel/default.nix b/users/daniel/default.nix index 4508b61..35a5d86 100644 --- a/users/daniel/default.nix +++ b/users/daniel/default.nix @@ -66,6 +66,7 @@ playerctl slurp spotify + swaylock udiskie wl-clipboard wofi