Disable root password and make users immutable

This commit is contained in:
Lillian Violet 2024-02-21 11:43:24 +01:00
parent a3961b0bde
commit 261311687b

View file

@ -159,7 +159,12 @@
enable = true; enable = true;
}; };
users.mutableuUsers = false;
users.users = { users.users = {
root = {
hashedPassword = "*";
};
lillian = { lillian = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"]; extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];