diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-15 14:47:51 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-15 14:47:51 +0200 |
commit | a2c820c6786ef8275213838ad0bdd77b970a4168 (patch) | |
tree | ca4a67b5220aa069aef67a7948f7e151933db9a9 /nixos/modules/services/scheduling | |
parent | 3f2c0bf9bde96260276fe487e2f85b1858d61c47 (diff) |
Turn security.pam.services into an attribute set
That is, you can say
security.pam.services.sshd = { options... };
instead of
security.pam.services = [ { name = "sshd"; options... } ];
making it easier to override PAM settings from other modules.
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r-- | nixos/modules/services/scheduling/atd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/atd.nix b/nixos/modules/services/scheduling/atd.nix index 88bec2cb2f3..8c96252668e 100644 --- a/nixos/modules/services/scheduling/atd.nix +++ b/nixos/modules/services/scheduling/atd.nix @@ -49,7 +49,7 @@ in environment.systemPackages = [ at ]; - security.pam.services = [ { name = "atd"; } ]; + security.pam.services.atd = {}; users.extraUsers = singleton { name = "atd"; |