genesis
This commit is contained in:
commit
82a8c33133
39 changed files with 1079 additions and 0 deletions
18
modules/base/doas.nix
Normal file
18
modules/base/doas.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
flake.modules.nixos.base = {
|
||||
security = {
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
groups = ["wheel"];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
sudo.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue