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