summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2023-09-27 15:15:46 -0400
committerJoe Mou <dev@mou.fo>2023-09-27 15:15:46 -0400
commite0c7675a23aab2a6ee498e4b5828b46d7faa72a9 (patch)
tree3af1db291181ede8a81814ea0a5b08b2d4adeed9
parent863cdae8e2eb7b9eeb82fbb95968a37e1b7ef55f (diff)
Add trusted-user to simplify sharing of binary cache
Note to cross-compile, need to set: nixpkgs.buildPlatform = "x86_64-linux"; This will use a LOT of disk space in the Nix store (10+ GB).
-rw-r--r--hostnix/weebnix/configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix
index 1d166bd..e2ecf70 100644
--- a/hostnix/weebnix/configuration.nix
+++ b/hostnix/weebnix/configuration.nix
@@ -11,6 +11,7 @@
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
+ nix.settings.trusted-users = [ "joe" ];
boot.loader.systemd-boot.enable = true;
# Raspberry Pi has no NVRAM.