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