diff --git a/modules/desktop/de/hyprland.nix b/modules/desktop/de/hyprland.nix index ddca13c..fb7f422 100644 --- a/modules/desktop/de/hyprland.nix +++ b/modules/desktop/de/hyprland.nix @@ -25,5 +25,7 @@ in { enable = true; xwayland.enable = true; }; + programs.hyprlock.enable = true; + security.pam.services.hyprlock = {}; }; } diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 0b048a6..55a198b 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -59,7 +59,6 @@ ", XF86AudioMicMute, exec, ${pkgs.pulsemixer}/bin/pulsemixer --toggle-mute --id 1" ", XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +5%" ", XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%-" - "$mod, 9, exec, ${pkgs.hyprlock}/bin/hyprlock" "$mod, 0, exec, ${pkgs.wlogout}/bin/wlogout" ] ++ ( diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index e6c3aaa..d806fe2 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -6,7 +6,6 @@ }; home.packages = with pkgs; [ - hyprlock wl-clipboard ];