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