From be467e6c4e88d8e1cc21064acc7e6f3c313a4a68 Mon Sep 17 00:00:00 2001 From: Origami404 Date: Sun, 17 May 2026 13:09:22 +0800 Subject: [PATCH] =?UTF-8?q?hosts/hypnos:=20=E9=85=8D=E7=BD=AE=20x86=5F64-l?= =?UTF-8?q?inux=20remote=20builder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hypnos/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/hypnos/configuration.nix b/hosts/hypnos/configuration.nix index 45590b5..15376b9 100644 --- a/hosts/hypnos/configuration.nix +++ b/hosts/hypnos/configuration.nix @@ -7,6 +7,17 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.buildMachines = [{ + hostName = "192.168.2.22"; + systems = [ "x86_64-linux" ]; + sshUser = "origami"; + sshKey = "/Users/origami/.config/sops-nix/secrets/ssh-private"; + protocol = "ssh-ng"; + maxJobs = 4; + supportedFeatures = [ "nixos-test" "big-parallel" "kvm" ]; + }]; + nix.distributedBuilds = true; + networking.hostName = "hypnos"; time.timeZone = "Asia/Shanghai";