nixos/cosmic-greeter: allow empty passwords

Auto-login masked part of this issue because the greeter was never
interacted with. But once the user's session gets locke, it never
unlocks because PAM doesn't allow empty passwords. This patch fixes that
behaviour.
This commit is contained in:
Pratham Patel
2026-04-24 13:26:29 +05:30
parent f50bf21d9a
commit eb53785634
@@ -73,7 +73,9 @@ in
extraGroups = [ "video" ];
};
# Required for authentication
security.pam.services.cosmic-greeter = { };
security.pam.services.cosmic-greeter = {
allowNullPassword = true;
};
hardware.graphics.enable = true;
services.accounts-daemon.enable = true;