12 lines
202 B
Nix
12 lines
202 B
Nix
{username, ...}: {
|
|
security.doas.enable = true;
|
|
security.sudo.enable = false;
|
|
security.doas.extraRules = [
|
|
{
|
|
users = [username];
|
|
keepEnv = true;
|
|
persist = true;
|
|
}
|
|
];
|
|
}
|