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