From b75537a353be1d65d382b0b4083f325a45877fcc Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Wed, 20 Nov 2024 05:56:05 +0100 Subject: [PATCH] rp5: add debian pi as remote builder --- systems/x86_64-linux/yggdrasil/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/systems/x86_64-linux/yggdrasil/default.nix b/systems/x86_64-linux/yggdrasil/default.nix index aedfd27..533b826 100644 --- a/systems/x86_64-linux/yggdrasil/default.nix +++ b/systems/x86_64-linux/yggdrasil/default.nix @@ -32,6 +32,25 @@ in backupFileExtension = ".bak"; }; + nix = { + buildMachines = [ + { + hostName = "pi"; + sshUser = "remotebuild"; + sshKey = "/root/.ssh/remotebuild"; + systems = [ "aarch64-linux" ]; + protocol = "ssh-ng"; + + supportedFeatures = [ + "nixos-test" + "big-parallel" + ]; + } + ]; + + distributedBuilds = true; + + }; ${namespace} = { archetypes = { gaming.enable = true;