From d44748636f25f81ae3c5f7fd2635dd027f235072 Mon Sep 17 00:00:00 2001 From: truxnell <19149206+truxnell@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:26:53 +1100 Subject: [PATCH] fix: add trusted-users to image --- nixos/hosts/images/sd-image/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/hosts/images/sd-image/default.nix b/nixos/hosts/images/sd-image/default.nix index 3eb48e2..abad04b 100644 --- a/nixos/hosts/images/sd-image/default.nix +++ b/nixos/hosts/images/sd-image/default.nix @@ -5,6 +5,13 @@ # # ]; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + trusted-users = [ "root" "@wheel" ]; + }; + }; + nixpkgs = { # Configure your nixpkgs instance