From 9d1bdf84e5dd1ab21b69016e38fb5c63bffff395 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 9 Aug 2024 21:05:58 +0200 Subject: [PATCH] nix: dinky: add remote build config --- hosts/dinky/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/dinky/default.nix b/hosts/dinky/default.nix index b90f774..d2ff2c7 100644 --- a/hosts/dinky/default.nix +++ b/hosts/dinky/default.nix @@ -109,5 +109,22 @@ systemd.services."getty@tty1".enable = false; systemd.services."autovt@tty1".enable = false; + nix.buildMachines = [ + { + hostName = "nemo.aarn.shelman.io"; + sshUser = "nixremote"; + system = "x86_64-linux"; + protocol = "ssh-ng"; + maxJobs = 32; + speedFactor = 2; + supportedFeatures = [ ]; + mandatoryFeatures = [ ]; + } + ]; + nix.distributedBuilds = true; + nix.extraOptions = '' + builders-use-substitutes = true + ''; + system.stateVersion = "24.05"; # Did you read the comment? }