diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-09 00:04:48 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-09 00:52:02 +0200 |
commit | 4fc151b5a3c749833554379a96bd87676f6c5740 (patch) | |
tree | 14a62675151cc14645867df383ffd7c4a940d177 /nixos/modules/virtualisation/google-compute-image.nix | |
parent | 8919d736a034c85eb3e38bc3d9baedcb00356e4e (diff) | |
download | nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar.gz nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar.bz2 nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar.lz nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar.xz nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.tar.zst nixlib-4fc151b5a3c749833554379a96bd87676f6c5740.zip |
nixos-install: Ask the user to set a root password
This removes the need to have an initially empty root password.
Diffstat (limited to 'nixos/modules/virtualisation/google-compute-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/google-compute-image.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index 34b8b0e9c1ca..d55b74202436 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -114,11 +114,6 @@ in # Always include cryptsetup so that NixOps can use it. environment.systemPackages = [ pkgs.cryptsetup ]; - # Prevent logging in as root without a password. This doesn't really matter, - # since the only PAM services that allow logging in with a null - # password are local ones that are inaccessible on Google Compute machines. - security.initialRootPassword = mkDefault "!"; - # Configure default metadata hostnames networking.extraHosts = '' 169.254.169.254 metadata.google.internal metadata |