diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 9e2cc839..825c9c77 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -112,5 +112,13 @@ in }; }; }; + + # swaylock doesnt work without this + security.pam.services.swaylock.text = '' + # PAM configuration file for the swaylock screen locker. By default, it includes + # the 'login' configuration file (see /etc/pam.d/login) + auth include login + ''; + }; }