Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
9ae213db27f9fd5e7c2a8034dd661a00872cb641
/
.
/
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}"
;
}