hosts/hypnos: 配置 x86_64-linux remote builder

This commit is contained in:
2026-05-17 13:09:22 +08:00
parent df2bce8913
commit be467e6c4e
+11
View File
@@ -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";