nix/modules/system/doas/default.nix
2024-10-17 22:26:16 +02:00

14 lines
261 B
Nix

{
security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
{
users = ["joy"];
keepEnv = true;
persist = true;
}
];
programs.git.enable = true;
programs.git.config = {safe.directory = "*";};
}