diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-06-02 12:55:13 -0400 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-06-02 12:55:13 -0400 |
| commit | c137036e26bc15a1683eda089e8a9a67649d9c24 (patch) | |
| tree | 12909c2f0d32760668684202f9f3efc57f854fac /modules/doas.nix | |
| parent | c4657d671b01789b096cb2f6d0db89804ad3c637 (diff) | |
rename keybind in kakoune
Diffstat (limited to 'modules/doas.nix')
| -rw-r--r-- | modules/doas.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/doas.nix b/modules/doas.nix index d68bf6b..16a6dc6 100644 --- a/modules/doas.nix +++ b/modules/doas.nix @@ -2,11 +2,22 @@ config, lib, options, + pkgs, ... }: { security = { - doas.extraRules = [ { groups = [ "wheel" ]; } ]; + doas.extraRules = [ + { + groups = [ "wheel" ]; + } + { + cmd = "mount"; + groups = [ "wheel" ]; + noPass = true; + } + ]; + sudo.enable = lib.mkDefault (!config.security.doas.enable); }; } |
