diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nixos/nix-copy.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/nixos/nix-copy.nix b/tests/nixos/nix-copy.nix index 3bcc7a988..44aa0b7da 100644 --- a/tests/nixos/nix-copy.nix +++ b/tests/nixos/nix-copy.nix @@ -37,7 +37,8 @@ in { { config, pkgs, ... }: { services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "yes"; - users.users.root.password = "foobar"; + users.users.root.hashedPasswordFile = lib.mkForce null; + users.users.root.password = "foobar"; virtualisation.writableStore = true; virtualisation.additionalPaths = [ pkgB pkgC ]; }; |