aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos/nix-copy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nixos/nix-copy.nix')
-rw-r--r--tests/nixos/nix-copy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nixos/nix-copy.nix b/tests/nixos/nix-copy.nix
index 2981cc2b8..7db5197aa 100644
--- a/tests/nixos/nix-copy.nix
+++ b/tests/nixos/nix-copy.nix
@@ -36,7 +36,7 @@ in {
server =
{ config, pkgs, ... }:
{ services.openssh.enable = true;
- services.openssh.permitRootLogin = "yes";
+ services.openssh.settings.PermitRootLogin = "yes";
users.users.root.password = "foobar";
virtualisation.writableStore = true;
virtualisation.additionalPaths = [ pkgB pkgC ];