mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
hosts/ni: remove doas
I'll just learn more about how to configure sudo properly then.
This commit is contained in:
parent
cb54c33afc
commit
f799b6dc1e
@ -196,24 +196,6 @@ in
|
|||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
services.avahi.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
|
# 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.
|
# using a server even though the chances of that is pretty slim.
|
||||||
networking = {
|
networking = {
|
||||||
|
Loading…
Reference in New Issue
Block a user