Root : Disable sudo.

This commit is contained in:
Dmitry Voronin 2024-03-11 23:26:54 +03:00
parent 044360be1a
commit d11f20cc13

View file

@ -1,6 +1,9 @@
{ const, ... }: {
users.users.root.hashedPassword = const.hashedPassword;
# security.sudo.extraConfig = ''
# Defaults rootpw
# '';
security.sudo = {
enable = false;
extraConfig = ''
Defaults rootpw
'';
};
}