No known key found for this signature in database
GPG Key ID: B4C3BF012D9B26BE
1 changed files with
10 additions and
1 deletions
-
shared/users.nix
|
@ -1,4 +1,4 @@ |
|
|
{ lib, config, ... }: |
|
|
|
|
|
|
|
|
{ pkgs, lib, config, ... }: |
|
|
|
|
|
|
|
|
with lib; |
|
|
with lib; |
|
|
|
|
|
|
|
@ -43,6 +43,15 @@ in |
|
|
security.pam.services."sshd".makeHomeDir = true; |
|
|
security.pam.services."sshd".makeHomeDir = true; |
|
|
security.pam.services."systemd-user".makeHomeDir = true; |
|
|
security.pam.services."systemd-user".makeHomeDir = true; |
|
|
|
|
|
|
|
|
|
|
|
security.pam.loginLimits = [ |
|
|
|
|
|
{ |
|
|
|
|
|
domain = "@cluster"; |
|
|
|
|
|
item = "memlock"; |
|
|
|
|
|
type = "-"; |
|
|
|
|
|
value = "unlimited"; |
|
|
|
|
|
} |
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
sops.secrets."ldap/login/password" = { |
|
|
sops.secrets."ldap/login/password" = { |
|
|
owner = "nslcd"; |
|
|
owner = "nslcd"; |
|
|
sopsFile = ./secrets.yaml; |
|
|
sopsFile = ./secrets.yaml; |
|
|