summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/installation-cd-base.nix
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/installer/cd-dvd/installation-cd-base.nix
parentf8f787b800dce2a2402a0cb693e9fe0b6895c4a7 (diff)
downloadnixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.gz
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.bz2
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.lz
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.xz
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.tar.zst
nixpkgs-f496c3cbe4a6a2db88892d14609618e449744ed6.zip
Obsolete security.initialPassword
You can now set users.extraUsers.root.initialHashedPassword instead.
Diffstat (limited to 'nixos/modules/installer/cd-dvd/installation-cd-base.nix')
-rw-r--r--nixos/modules/installer/cd-dvd/installation-cd-base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
index f2a90e8d2ec..a68581c113f 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
@@ -49,5 +49,5 @@ with lib;
   boot.supportedFilesystems = [ "zfs" "btrfs" ];
 
   # Allow the user to log in as root without a password.
-  security.initialRootPassword = "";
+  users.extraUsers.root.initialHashedPassword = "";
 }