summary refs log tree commit diff
path: root/nixos/tests/openssh.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-06-30 01:55:42 +0200
committerFlorian Klink <flokli@flokli.de>2018-06-30 02:31:30 +0200
commit89d5d191b48c502c84a4ed459ef3c9adc77a012a (patch)
treeefac5e04b58e84bb009816d5b025aa64407665e4 /nixos/tests/openssh.nix
parent0868aa76f6eaed2123fc6115cbb8a5f110dc8e2f (diff)
downloadnixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.gz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.bz2
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.lz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.xz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.zst
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.zip
nixos/tests: users.(extraUsers|extraGroup->users|group)
Diffstat (limited to 'nixos/tests/openssh.nix')
-rw-r--r--nixos/tests/openssh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/openssh.nix b/nixos/tests/openssh.nix
index b2d254e9d9d..230b4520684 100644
--- a/nixos/tests/openssh.nix
+++ b/nixos/tests/openssh.nix
@@ -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
         ];
       };