Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
c60298d9eeebf8410da7b0d3c5a151c4693e24b2
/
.
/
modules
/
doas.nix
blob: ab4303ef68e43fc6bb17838d6ae96c777af430e6 [
file
] [
log
] [
blame
]
{
config
,
...
}:
{
security
=
{
doas
=
{
enable
=
true
;
wheelNeedsPassword
=
false
;
};
sudo
.
enable
=
false
;
};
environment
.
shellAliases
.
sudo
=
"${config.security.wrapperDir}/${config.security.wrappers.doas.program}"
;
}