NixFiles/systems/pogmachine/doas.nix

14 lines
213 B
Nix
Raw Permalink Normal View History

2023-04-09 12:56:40 +01:00
{ config, username, ... }:
{
security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [{
users = [ "${username}" ];
keepEnv = true;
persist = true;
}];
};
}