mirror of
https://github.com/youwen5/nixos.git
synced 2024-12-01 04:33:51 -08:00
14 lines
199 B
Nix
14 lines
199 B
Nix
{
|
|
security.sudo.enable = false;
|
|
|
|
security.doas = {
|
|
enable = true;
|
|
extraRules = [
|
|
{
|
|
users = ["youwen"];
|
|
keepEnv = true;
|
|
persist = true;
|
|
}
|
|
];
|
|
};
|
|
}
|