config/systems/mdesktop/doas.nix

14 lines
213 B
Nix
Raw Normal View History

2023-12-19 19:08:55 +00:00
{ config, username, ... }:
{
security.sudo.enable = false;
security.doas = {
enable = true;
extraRules = [{
users = [ "${username}" ];
keepEnv = true;
persist = true;
}];
};
}