Root : Disable sudo.
This commit is contained in:
parent
044360be1a
commit
d11f20cc13
|
@ -1,6 +1,9 @@
|
||||||
{ const, ... }: {
|
{ const, ... }: {
|
||||||
users.users.root.hashedPassword = const.hashedPassword;
|
users.users.root.hashedPassword = const.hashedPassword;
|
||||||
# security.sudo.extraConfig = ''
|
security.sudo = {
|
||||||
# Defaults rootpw
|
enable = false;
|
||||||
# '';
|
extraConfig = ''
|
||||||
|
Defaults rootpw
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue