set root password in core profile
This commit is contained in:
parent
4c64769322
commit
96e530e2cb
@ -10,9 +10,4 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
editor = false;
|
editor = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
users.users.root.hashedPassword =
|
|
||||||
readFile
|
|
||||||
../secrets/root;
|
|
||||||
}
|
}
|
@ -124,6 +124,11 @@
|
|||||||
services.earlyoom.enable = true;
|
services.earlyoom.enable = true;
|
||||||
|
|
||||||
|
|
||||||
users.mutableUsers = false;
|
users = {
|
||||||
|
mutableUsers = false;
|
||||||
|
|
||||||
|
users.root.hashedPassword = readFile
|
||||||
|
../secrets/root;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user