about summary refs log tree commit diff
path: root/modules/doas.nix
blob: 27535b0bdc38206ce1538c9d76045926bb19ff04 (plain)
1
2
3
4
5
6
7
8
9
10
{
  security.sudo.enable = false;
  security.doas = {
    enable = true;
    wheelNeedsPassword = false;
  };
  environment.shellAliases = {
    sudo = "doas";
  };
}