From a7be0b3c12aef731f553098cb5e91385e3657b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 30 Oct 2024 13:31:24 +0100 Subject: [PATCH] System Gen126 @ 2024-10-30-13:31:23 --- modules/desktop/de/hyprland.nix | 2 ++ modules/home/hyprland/config.nix | 1 - modules/home/hyprland/hyprland.nix | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) 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 ];