Unverified Commit eb537856 authored by Pratham Patel's avatar Pratham Patel
Browse files

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.
parent f50bf21d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;