From 8d7ebd365689f2c68b25a18b845d9d3c6dcf8522 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 15 Oct 2024 18:12:56 +0200 Subject: [PATCH] dinky: update remote builder config --- hosts/dinky/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/dinky/default.nix b/hosts/dinky/default.nix index d2e7681..90f6d5a 100644 --- a/hosts/dinky/default.nix +++ b/hosts/dinky/default.nix @@ -117,22 +117,29 @@ systemd.services."getty@tty1".enable = false; systemd.services."autovt@tty1".enable = false; + nix.settings.trusted-users = [ "dln" ]; nix.buildMachines = [ { hostName = "nemo.aarn.patagia.dev"; sshUser = "nixremote"; + sshKey = "/root/.ssh/id_ed25519"; system = "x86_64-linux"; protocol = "ssh-ng"; maxJobs = 32; speedFactor = 2; - supportedFeatures = [ ]; + supportedFeatures = [ + "nixos-test" + "big-parallel" + "kvm" + ]; mandatoryFeatures = [ ]; } ]; nix.distributedBuilds = true; - nix.extraOptions = '' - builders-use-substitutes = true - ''; + nix.settings.builders-use-substitutes = true; + nix.settings.trusted-substituters = [ + "ssh-ng://nemo.aarn.patagia.dev" + ]; system.stateVersion = "24.05"; # Did you read the comment? }