Merge pull request #123448 from mweinelt/phosh-pam

nixos/phosh: Fix PAM configuration
This commit is contained in:
Maciej Krüger 2021-05-18 17:26:21 +02:00 committed by GitHub
commit 362ca08510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,15 +145,7 @@ in {
programs.feedbackd.enable = true;
# https://source.puri.sm/Librem5/phosh/-/issues/303
security.pam.services.phosh = {
text = ''
auth requisite pam_nologin.so
auth required pam_succeed_if.so user != root quiet_success
auth required pam_securetty.so
auth requisite pam_nologin.so
'';
};
security.pam.services.phosh = {};
services.gnome.core-shell.enable = true;
services.gnome.core-os-services.enable = true;