server/system/doas.nix

14 lines
198 B
Nix
Raw Permalink Normal View History

2024-09-24 20:36:31 +01:00
{ config, ... }:
{
security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [{
users = [ "maddie" ];
keepEnv = true;
persist = true;
}];
};
}