Move and rename some stuff whatever
This commit is contained in:
parent
a0cc623c4b
commit
7c5ff0253e
38 changed files with 53 additions and 127 deletions
16
modules/system/settings/security/privilege/default.nix
Normal file
16
modules/system/settings/security/privilege/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
{
|
||||
security = {
|
||||
sudo.enable = false;
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{ # Give wheel root access
|
||||
groups = [ "wheel" ];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue