about summary refs log tree commit diff
path: root/nixos/modules/testing
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-03 12:30:54 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-03 12:36:56 +0100
commitf496c3cbe4a6a2db88892d14609618e449744ed6 (patch)
tree3de8462dc48e7825a86bff29cd1d2897fcba7cc2 /nixos/modules/testing
parentf8f787b800dce2a2402a0cb693e9fe0b6895c4a7 (diff)
downloadnixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.gz
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.bz2
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.lz
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.xz
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.zst
nixlib-f496c3cbe4a6a2db88892d14609618e449744ed6.zip
Obsolete security.initialPassword
You can now set users.extraUsers.root.initialHashedPassword instead.
Diffstat (limited to 'nixos/modules/testing')
-rw-r--r--nixos/modules/testing/test-instrumentation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix
index 54a376c9560e..2de978ca1018 100644
--- a/nixos/modules/testing/test-instrumentation.nix
+++ b/nixos/modules/testing/test-instrumentation.nix
@@ -98,7 +98,7 @@ let kernel = config.boot.kernelPackages.kernel; in
     networking.usePredictableInterfaceNames = false;
 
     # Make it easy to log in as root when running the test interactively.
-    security.initialRootPassword = mkDefault "";
+    users.extraUsers.root.initialHashedPassword = mkDefault "";
 
   };