hosts/ni: remove doas

I'll just learn more about how to configure sudo properly then.
This commit is contained in:
Gabriel Arazas 2023-06-30 14:30:59 +08:00
parent cb54c33afc
commit f799b6dc1e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -196,24 +196,6 @@ in
services.thermald.enable = true;
services.avahi.enable = true;
# The usual doas config.
security.doas = {
enable = true;
extraRules = [
{
groups = [ "wheel" ];
persist = true;
}
# It is the primary user so we may as well just make this easier to run.
{
users = [ "foo-dogsquared" ];
cmd = "nixos-rebuild";
noPass = true;
}
];
};
# We'll go with a software firewall. We're mostly configuring it as if we're
# using a server even though the chances of that is pretty slim.
networking = {