added nix.trustedUsers declaration per nix-health recommendation

This commit is contained in:
serenity-F 2025-03-01 01:24:26 +10:00
parent 0beaa230c0
commit 1b5e163730

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, ... }: { inputs, lib, pkgs, primaryUser, ... }:
{ {
@ -50,6 +50,7 @@
auto-optimise-store = true; auto-optimise-store = true;
download-buffer-size = [ "268435456" ]; download-buffer-size = [ "268435456" ];
allowed-users = [ "@wheel" ]; allowed-users = [ "@wheel" ];
trusted-users = [ "root" "@wheel" "${primaryUser}" ];
## Enable flakes uwu,,, and some other junk idek ## Enable flakes uwu,,, and some other junk idek
experimental-features = experimental-features =
[ "pipe-operators" "recursive-nix" "nix-command" "flakes" ]; [ "pipe-operators" "recursive-nix" "nix-command" "flakes" ];