about summary refs log blame commit diff
path: root/modules/doas/default.nix
blob: 39cb03be2a64d9dd14fe1faf8ef6f77e05c529e6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                             
{ config, pkgs, ... }:

{
  security = {
    sudo.enable = false;
    doas = {
      enable = true;
      extraRules = [{
        groups = [ "wheel" ];
        keepEnv = true;
        persist = true;
      }];
    };
  };
}