From ef68483996e5a6b9848cb66d9498d3faa6605055 Mon Sep 17 00:00:00 2001 From: Marko Kaapu Date: Mon, 29 Jan 2024 17:12:00 +0200 Subject: [PATCH] Add themisto user to build4 Signed-off-by: Marko Kaapu --- hosts/ficolobuild/build4.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hosts/ficolobuild/build4.nix b/hosts/ficolobuild/build4.nix index 5112858a..40a57bd3 100644 --- a/hosts/ficolobuild/build4.nix +++ b/hosts/ficolobuild/build4.nix @@ -1,8 +1,15 @@ # SPDX-FileCopyrightText: 2024 Technology Innovation Institute (TII) # SPDX-License-Identifier: Apache-2.0 # -{...}: { - imports = [ +{ + self, + lib, + ... +}: { + imports = lib.flatten [ + (with self.nixosModules; [ + user-themisto + ]) # Import Ficolo x86 builder specific configuration ./builder.nix ]; @@ -10,4 +17,9 @@ # build4 specific configuration networking.hostName = "build4"; + + # Trust Themisto Hydra user + nix.settings = { + trusted-users = ["root" "themisto"]; + }; }