From 48b8118f2c1ae07a6d7fb30e71b583ccca298a8c Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 14 Feb 2014 09:06:26 -0500 Subject: [PATCH] virtualbox-image.nix: initialRootPassword setting should be easily overrideable --- nixos/modules/virtualisation/virtualbox-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/virtualbox-image.nix b/nixos/modules/virtualisation/virtualbox-image.nix index 71bdf31a98d2..06bea2d8acff 100644 --- a/nixos/modules/virtualisation/virtualbox-image.nix +++ b/nixos/modules/virtualisation/virtualbox-image.nix @@ -111,5 +111,5 @@ with pkgs.lib; # Prevent logging in as root without a password. For NixOps, we # don't need this because the user can login via SSH, and for the # demo images, there is a demo user account that can sudo to root. - security.initialRootPassword = "!"; + security.initialRootPassword = mkDefault "!"; }