From e9e67b8b18dde91dd803871b1aae7b50ec77e9d8 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Fri, 4 Aug 2023 11:34:15 +0000 Subject: [PATCH] Update sudoers file --- nixos-configurations/server/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index edf84eb..1a3b6d2 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -8,6 +8,10 @@ nix.settings.trusted-users = [ "thiloho" ]; + security.sudo.extraConfig = '' + %wheel ALL=(ALL) NOPASSWD: ALL, SETENV: ALL + ''; + networking = { hostName = "server"; firewall = {