set root password in core profile

This commit is contained in:
Timothy DeHerrera 2019-12-13 22:47:05 -07:00
parent 4c64769322
commit 96e530e2cb
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 6 additions and 6 deletions

View file

@ -10,9 +10,4 @@ in
enable = true;
editor = false;
};
users.users.root.hashedPassword =
readFile
../secrets/root;
}

View file

@ -124,6 +124,11 @@
services.earlyoom.enable = true;
users.mutableUsers = false;
users = {
mutableUsers = false;
users.root.hashedPassword = readFile
../secrets/root;
};
}