From ff892b17a55e38d00f350cfef69c68b4241dd773 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 6 Dec 2020 18:23:51 +0100 Subject: [PATCH] Trust wheel group and disable sudo password for auto deployment --- configuration/common/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration/common/default.nix b/configuration/common/default.nix index c3ab6d8..1bb26f5 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -10,6 +10,10 @@ keyMap = "de-latin1"; }; + security.sudo.wheelNeedsPassword = false; + + nix.trustedUsers = [ "@wheel" ]; + users.users.clerie = { isNormalUser = true; extraGroups = [ "wheel" ];