Skyler Grey | 4287618 | 2023-03-05 13:03:42 +0000 | [diff] [blame^] | 1 | { config, ... }: { |
2 | security = { | ||||
3 | doas = { | ||||
4 | enable = true; | ||||
5 | wheelNeedsPassword = false; | ||||
6 | }; | ||||
7 | sudo.enable = false; | ||||
8 | }; | ||||
9 | |||||
10 | environment.shellAliases.sudo = "${config.security.wrapperDir}/${config.security.wrappers.doas.program}"; | ||||
11 | } |