about summary refs log tree commit diff
path: root/nixos/tests/doas.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-03-28treewide: machine -> nodes.machineRobert Hensing1-1/+1
2021-11-08nixos/terminfo: inherit TERMINFO* env vars also for doassternenseemann1-0/+8
This should mirror the behavior we implement for sudo: The TERMINFO and TERMINFO_DIRS variables are inherited from the normal user's environment, so terminfo files installed in the user's profile can be found by ncurses applications running as root.
2021-08-12nixos/doas: fix recursive calls to doasErik Arvstedt1-0/+7
Previously, for processes launched by doas the unwrapped doas binary preceded the setuid-wrapped doas binary in PATH. This caused error `doas: not installed setuid` when running doas from processes launched by doas. doas seems to short-circuit the PATH lookup when called like `doas -u myuser doas -u myuser ...` so the error doesn't appear in this case.
2020-05-04nixos/doas: initCole Helbling1-0/+83
`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