Configure remote build

This commit is contained in:
Paul-Henri Froidmont 2024-12-19 00:43:47 +01:00
parent f39b5f76b1
commit 053fafde54
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 20 additions and 2 deletions

View file

@ -27,6 +27,26 @@
programs.kdeconnect.enable = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix = {
distributedBuilds = true;
buildMachines = [
{
hostName = "hel1.banditlair.com";
sshUser = "nix-ssh";
system = "x86_64-linux";
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
}
];
settings = {
substituters = [ "ssh://nix-ssh@hel1.banditlair.com" ];
trusted-public-keys = [ "hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g=" ];
};
};
# Allow to externally control MPD
networking.firewall.allowedTCPPorts = [ 6600 ];