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