summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-22 21:45:42 +0200
committerAlan Pearce2024-04-22 21:49:38 +0200
commit46cb3422934aa93d3e7864cbb14bc1fde58ed91f (patch)
tree5437fdf26286a57ade49251985074ee5ce28bcb0
parentff97e2742d1463647fb1944f12ee34c0bf85932d (diff)
downloadnixfiles-46cb3422934aa93d3e7864cbb14bc1fde58ed91f.tar.lz
nixfiles-46cb3422934aa93d3e7864cbb14bc1fde58ed91f.tar.zst
nixfiles-46cb3422934aa93d3e7864cbb14bc1fde58ed91f.zip
Partially revert "nix: trust no-one"
This reverts commit 2b33de452acd76e472cc0f5b5ee35c1330734ec7.
-rw-r--r--system/linde.nix1
-rw-r--r--system/prefect.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 3f971b3b..96ff92f8 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -132,6 +132,7 @@ in
     settings = {
       max-jobs = 2;
       auto-optimise-store = true;
+      trusted-users = [ "root" "nixremote" ];
       experimental-features = [ "nix-command" "flakes" ];
     };
     gc = {
diff --git a/system/prefect.nix b/system/prefect.nix
index 3e69122a..f4c542a3 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -136,6 +136,7 @@
   system.stateVersion = "23.05";
 
   boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
+  nix.settings.trusted-users = [ "root" "nixremote" ];
   services.displayManager.hiddenUsers = [ "nixremote" ];
   users.users.nixremote = {
     shell = "/bin/sh";