2024-11-08 18:23:40 +01:00
|
|
|
{username, ...}: {
|
2024-10-15 20:13:25 +02:00
|
|
|
security.doas.enable = true;
|
|
|
|
security.sudo.enable = false;
|
|
|
|
security.doas.extraRules = [
|
|
|
|
{
|
2024-11-08 18:23:40 +01:00
|
|
|
users = [username];
|
2024-10-15 20:13:25 +02:00
|
|
|
keepEnv = true;
|
|
|
|
persist = true;
|
|
|
|
}
|
|
|
|
];
|
2024-10-17 22:26:16 +02:00
|
|
|
programs.git.enable = true;
|
|
|
|
programs.git.config = {safe.directory = "*";};
|
2024-10-15 20:13:25 +02:00
|
|
|
}
|