From 1b5e1637304e60c2e96ee53961aff243a77fe3c5 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Sat, 1 Mar 2025 01:24:26 +1000 Subject: [PATCH] added `nix.trustedUsers` declaration per `nix-health` recommendation --- core/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/default.nix b/core/default.nix index 656a676..99530a9 100755 --- a/core/default.nix +++ b/core/default.nix @@ -1,4 +1,4 @@ -{ inputs, lib, pkgs, ... }: +{ inputs, lib, pkgs, primaryUser, ... }: { @@ -50,6 +50,7 @@ auto-optimise-store = true; download-buffer-size = [ "268435456" ]; allowed-users = [ "@wheel" ]; + trusted-users = [ "root" "@wheel" "${primaryUser}" ]; ## Enable flakes uwu,,, and some other junk idek experimental-features = [ "pipe-operators" "recursive-nix" "nix-command" "flakes" ];