server/system/doas.nix
2024-10-07 15:32:17 +01:00

14 lines
198 B
Nix
Executable File

{ config, ... }:
{
security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [{
users = [ "maddie" ];
keepEnv = true;
persist = true;
}];
};
}