nix/modules/system/doas/default.nix
2024-10-15 20:13:25 +02:00

12 lines
182 B
Nix

{
security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
{
users = ["joy"];
keepEnv = true;
persist = true;
}
];
}