diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-03-17 16:21:33 -0400 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-03-17 16:21:33 -0400 |
| commit | ce19b701046c064a1eb39098d8537b2c4964a86e (patch) | |
| tree | 8c42a1392d36132803a2ee4ecb4d2c9150f72296 /modules/doas.nix | |
| parent | 8848e53815fe12ffa3998c0a4bbcf2178d6b00e8 (diff) | |
start rewrite
Diffstat (limited to 'modules/doas.nix')
| -rw-r--r-- | modules/doas.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/doas.nix b/modules/doas.nix new file mode 100644 index 0000000..d68bf6b --- /dev/null +++ b/modules/doas.nix @@ -0,0 +1,12 @@ +{ + config, + lib, + options, + ... +}: +{ + security = { + doas.extraRules = [ { groups = [ "wheel" ]; } ]; + sudo.enable = lib.mkDefault (!config.security.doas.enable); + }; +} |
