From 46cb3422934aa93d3e7864cbb14bc1fde58ed91f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 22 Apr 2024 21:45:42 +0200 Subject: Partially revert "nix: trust no-one" This reverts commit 2b33de452acd76e472cc0f5b5ee35c1330734ec7. --- system/linde.nix | 1 + system/prefect.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'system') 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"; -- cgit 1.4.1