nix machine / user configurations
1{ config, ... }: 2{ 3 programs.ssh.extraConfig = '' 4 Host eu.nixbuild.net 5 PubkeyAcceptedKeyTypes ssh-ed25519 6 IdentityFile ${config.age.secrets.nixBuildKey.path} 7 ''; 8 9 programs.ssh.knownHosts = { 10 nixbuild = { 11 hostNames = [ "eu.nixbuild.net" ]; 12 publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIQCZc54poJ8vqawd8TraNryQeJnvH1eLpIDgbiqymM"; 13 }; 14 }; 15 16 nix = { 17 distributedBuilds = true; 18 buildMachines = [ 19 { 20 hostName = "eu.nixbuild.net"; 21 system = "x86_64-linux"; 22 maxJobs = 100; 23 supportedFeatures = [ 24 "benchmark" 25 "big-parallel" 26 ]; 27 } 28 ]; 29 }; 30}