nixos/common: add pam-ussh
This commit is contained in:
parent
2c6be52ce9
commit
bd2be7196a
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ in
|
||||||
|
|
||||||
environment.homeBinInPath = true;
|
environment.homeBinInPath = true;
|
||||||
security.pam.enableSSHAgentAuth = true;
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
security.pam.ussh = {
|
||||||
|
enable = true;
|
||||||
|
control = "sufficient";
|
||||||
|
caFile = ../../secrets/client-ca.pub;
|
||||||
|
};
|
||||||
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.users = let secrets = depot.ops.secrets; in {
|
users.users = let secrets = depot.ops.secrets; in {
|
||||||
|
|
Loading…
Reference in a new issue