diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/doas.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/doas.nix b/modules/doas.nix new file mode 100644 index 0000000..27535b0 --- /dev/null +++ b/modules/doas.nix @@ -0,0 +1,10 @@ +{ + security.sudo.enable = false; + security.doas = { + enable = true; + wheelNeedsPassword = false; + }; + environment.shellAliases = { + sudo = "doas"; + }; +} |