all repos — nixfiles @ 46cb3422934aa93d3e7864cbb14bc1fde58ed91f

System and user configuration, managed by nix and home-manager

Partially revert "nix: trust no-one"

This reverts commit 2b33de452acd76e472cc0f5b5ee35c1330734ec7.
Alan Pearce alan@alanpearce.eu
Mon, 22 Apr 2024 21:45:42 +0200
commit

46cb3422934aa93d3e7864cbb14bc1fde58ed91f

parent

ff97e2742d1463647fb1944f12ee34c0bf85932d

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -132,6 +132,7 @@ daemonIOSchedPriority = 6;     settings = {
       max-jobs = 2;
       auto-optimise-store = true;
+      trusted-users = [ "root" "nixremote" ];
       experimental-features = [ "nix-command" "flakes" ];
     };
     gc = {
M system/prefect.nixsystem/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";