This commit is contained in:
Sridhar Ratnakumar 2026-03-20 16:13:53 -04:00
parent 9483a8a503
commit 4937e68d5c
2 changed files with 25 additions and 2 deletions

View file

@ -16,8 +16,8 @@ in
"${homeMod}/services/obsidian.nix"
# Remote builders
# "${homeMod}/nix/buildMachines"
# "${homeMod}/nix/buildMachines/sincereintent.nix"
"${homeMod}/nix/buildMachines"
"${homeMod}/nix/buildMachines/pureintent.nix"
];
home.username = "srid";

View file

@ -0,0 +1,23 @@
{ ... }:
{
# Configure remote building to pureintent (NixOS x86_64-linux builder)
nix.buildMachines = [
{
hostName = "pureintent";
sshUser = "srid";
systems = [ "x86_64-linux" ];
protocol = "ssh-ng";
maxJobs = 16;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
sshKey = "/Users/srid/.ssh/nix-remote-builder";
# Run on the remote machine:
# , base64 -w0 /etc/ssh/ssh_host_ed25519_key.pub
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU9LZlI3R253cklWZW1QLzFrbmE4amJvTlJlZ0lzYVZMNm1UaTNvWHdNZFUgcm9vdEBuaXhvcwo=";
}
];
}