core: empty root passwd by default

This commit is contained in:
Timothy DeHerrera 2020-01-03 01:02:08 -07:00
parent a1a2a2c7e2
commit c13b241b6c
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 4 additions and 1 deletions

View File

@ -161,7 +161,7 @@ in
users = {
mutableUsers = false;
users.root.hashedPassword = fileContents ../secrets/root;
users.root.hashedPassword = lib.mkDefault "";
};
}

View File

@ -14,10 +14,13 @@ let
name = "Timothy DeHerrera";
in
{
imports = [
../../profiles/graphical
];
users.users.root.hashedPassword = fileContents ../../secrets/root;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;