From 51e657d43b443fc39488e5613376a107af646b86 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 9 Jan 2026 23:01:40 -0800 Subject: [PATCH] Add devs group to nix trusted-users Allows dev users to use nix develop, nix build, etc. Previously blocked by daemon access restrictions. Co-Authored-By: Claude Opus 4.5 --- configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7eb07fd..94b6efe 100644 --- a/configuration.nix +++ b/configuration.nix @@ -154,8 +154,12 @@ in echo ''; - # Enable Nix flakes - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # Nix settings + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + # Allow dev users to use nix daemon (nix develop, nix build, etc.) + trusted-users = [ "root" "@devs" ]; + }; # SSH configuration services.openssh = {