mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #123448 from mweinelt/phosh-pam
nixos/phosh: Fix PAM configuration
This commit is contained in:
commit
362ca08510
1 changed files with 1 additions and 9 deletions
|
@ -145,15 +145,7 @@ in {
|
||||||
|
|
||||||
programs.feedbackd.enable = true;
|
programs.feedbackd.enable = true;
|
||||||
|
|
||||||
# https://source.puri.sm/Librem5/phosh/-/issues/303
|
security.pam.services.phosh = {};
|
||||||
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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gnome.core-shell.enable = true;
|
services.gnome.core-shell.enable = true;
|
||||||
services.gnome.core-os-services.enable = true;
|
services.gnome.core-os-services.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue