added root-ish options

This commit is contained in:
2025-07-03 03:40:34 +00:00
parent 7ddbba1b85
commit 97b2e05f80

View File

@@ -46,6 +46,14 @@
isNormalUser = true; isNormalUser = true;
} // userOptions config; } // userOptions config;
nix.settings.trusted-users = [ "root" "@wheel" ];
security.sudo-rs = {
enable = true;
execWheelOnly = false;
wheelNeedsPassword = false;
extraConfig = "Defaults timestamp_timeout=1440";
};
programs.zsh.enable = lib.mkIf config.shell true; programs.zsh.enable = lib.mkIf config.shell true;
home-manager = { home-manager = {