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, ... }: { { 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
'';
};
} }