hosts/hypnos: 配置 x86_64-linux remote builder
This commit is contained in:
@@ -7,6 +7,17 @@
|
|||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
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";
|
networking.hostName = "hypnos";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user