From f799b6dc1e1502eaefae0a519c7e3e175c30791a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 30 Jun 2023 14:30:59 +0800 Subject: [PATCH] hosts/ni: remove doas I'll just learn more about how to configure sudo properly then. --- hosts/ni/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 84b3d678..3ce14792 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -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 = {