added root-ish options
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user