nixos/doas: init

`doas` is a lighter alternative to `sudo` that "provide[s] 95% of the
features of `sudo` with a fraction of the codebase" [1]. I prefer it to
`sudo`, so I figured I would add a NixOS module in order for it to be
easier to use. The module is based off of the existing `sudo` module.

[1] https://github.com/Duncaen/OpenDoas
This commit is contained in:
Cole Helbling 2020-04-13 20:13:36 -07:00
parent ed755a6557
commit 446fb0097a
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C
4 changed files with 359 additions and 0 deletions

View file

@ -200,6 +200,7 @@
./security/rtkit.nix
./security/wrappers/default.nix
./security/sudo.nix
./security/doas.nix
./security/systemd-confinement.nix
./security/tpm2.nix
./services/admin/oxidized.nix