From fb5c7849d03ee7b026657c42217894680f7b9a4d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 17 Jun 2024 11:24:51 -0400 Subject: [PATCH] system: Add wheel group to trusted users Should prevent issues we ran into previously with things like nixos-rebuild on remote hosts through ssh with non-root accounts. --- modules/system.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/system.nix b/modules/system.nix index 3712e8bb..fc55e82b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -95,6 +95,11 @@ in experimental-features = [ "nix-command" "flakes" "repl-flake" ]; auto-optimise-store = true; warn-dirty = false; + + trusted-users = [ + "root" + "@wheel" + ]; }; };