diff options
author | Florian Klink <flokli@flokli.de> | 2018-06-30 01:55:42 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2018-06-30 02:31:30 +0200 |
commit | 89d5d191b48c502c84a4ed459ef3c9adc77a012a (patch) | |
tree | efac5e04b58e84bb009816d5b025aa64407665e4 /nixos/tests/openssh.nix | |
parent | 0868aa76f6eaed2123fc6115cbb8a5f110dc8e2f (diff) | |
download | nixpkgs-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.nix | 4 |
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 ]; }; |