doas config keepEnv

This commit is contained in:
Ivan Dimitrov 2024-05-06 12:17:25 +03:00
parent 232c0685bb
commit ac684779eb

View File

@ -37,7 +37,10 @@
}; };
doas = { doas = {
enable = true; enable = true;
wheelNeedsPassword = false; extraRules = [
# Allow wheel to run all commands without password and keep user env.
{ groups = [ "wheel" ]; noPass = true; keepEnv = true; }
];
}; };
polkit.enable = true; polkit.enable = true;
rtkit.enable = true; rtkit.enable = true;
@ -52,6 +55,8 @@
}; };
}; };
i18n.supportedLocales = [ "all" ];
time.timeZone = "Europe/Sofia"; time.timeZone = "Europe/Sofia";
fonts.packages = with pkgs; [ nerdfonts noto-fonts noto-fonts-emoji noto-fonts-lgc-plus ]; fonts.packages = with pkgs; [ nerdfonts noto-fonts noto-fonts-emoji noto-fonts-lgc-plus ];