nix/modules/system/doas/default.nix

12 lines
182 B
Nix
Raw Normal View History

2024-10-15 20:13:25 +02:00
{
security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
{
users = ["joy"];
keepEnv = true;
persist = true;
}
];
}