nix/module/common/Root.nix

10 lines
162 B
Nix

{ const, ... }: {
users.users.root.hashedPassword = const.hashedPassword;
security.sudo = {
enable = false;
extraConfig = ''
Defaults rootpw
'';
};
}