nixos/tests: users.(extraUsers|extraGroup->users|group)

This commit is contained in:
Florian Klink
2018-06-30 02:31:30 +02:00
parent 0868aa76f6
commit 89d5d191b4
13 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ in {
services.openssh.enable = true;
security.pam.services.sshd.limits =
[ { domain = "*"; item = "memlock"; type = "-"; value = 1024; } ];
users.extraUsers.root.openssh.authorizedKeys.keys = [
users.users.root.openssh.authorizedKeys.keys = [
snakeOilPublicKey
];
};
@@ -29,7 +29,7 @@ in {
services.openssh = { enable = true; startWhenNeeded = true; };
security.pam.services.sshd.limits =
[ { domain = "*"; item = "memlock"; type = "-"; value = 1024; } ];
users.extraUsers.root.openssh.authorizedKeys.keys = [
users.users.root.openssh.authorizedKeys.keys = [
snakeOilPublicKey
];
};