2023-10-06 12:41:55 +02:00
|
|
|
{
|
2023-10-07 09:18:24 +02:00
|
|
|
# Allows 'root' to ssh for remote builds
|
2023-10-07 08:36:42 +02:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
|
|
# nixos-vm-01
|
|
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAEAQCa0cmwShSm3QxM2RPxGynWxWDDTXk4RYkC/siRobkZQAnUsDjaG6oqR9PoQhSa9L2z2s7x97YZOdHp2h0Kh8Ugns/i6QoeQLmFxVWxDMrAFq7utG0fkOsBX4/yUbiUr0/SEAzxIsrQ/04mLmhboszHxVfkJYIfZQVK9QRycfpSHPIWBwad6SOpXM/1U4tlqJS4T4L3OK7GUh/My+BDLSZecvDRkVPOkWwEC4VtcjaM/AsIxIR3V5TxdUSdWNGdjgNj2dTLVA1pBEIqpPJgJldyYUFvAVA1wnRC+6+zJZBSr2HKatrzx/8Z8cYbuXpM+UkCPIcw6fUSgz3yeXGsHzSMeMGREwgtDC80mIUdsQG/34EP0a4ZUFRJlvVCqfXCaBX5xdr7iYVzDNpnU7oB8mAZX4jhaD6/gqSVwGuf3bGiKm9a8HHyUi6U/7XrOKx1e43WJ77zyIiXjevy1jzt3JQtKE8REP/y0lfmedaScssw1gtKAxiV2X8Kou/mMs+0pUxlM9p+lmsNvPevbva5PPyDUaQ3bdFGQ9tkz7lzcV2zJcqflkToFdgTOBDee/j684XsQ7bRU9Sq7B6ARyPNxhWreRLyerua/w29iLIRsUeVUbQAlGgHtyprszDQJmPPtg/YOOVrEYwDTckgnbhB+3L2+FE/6UIinBI91JiLLzYFgkcs4aotMvbtRm1nlwZ8PjO4ZkEUD3hK0O5WGhUTgLGtIqlj1ICHqJMEmQK/KGhT04tufunhzJXUkHpDPFNDEYWSjIW9pSurUZBj3WcMPOW1ddfgTpmerQcgwnO2PhCtcfjil1kxU9GDxTSbL5lpRvO7WJ5cCF3cOznP8mOVCMl5fN+yJKpX+nPYT/vRnfMOFppD3dfZbUXw3jmftlUYrovcGaKyetH+1VehmW/NS0qQqJHF59ERS9CGj9q/yfXbvxwk793aB2/CRWioDhr0CRD6I45TWIpWS00JMGLsDKOe2sxu1TYPVI/40iTt/N57CfPEEmftnEzHG35+21+6CVK1prPQ9oxs9KRDdfN7D/xtm6BZIFL1JEt7YeWQ+L5wMK0YCAvgMZt5zEFzPVg4HBKpK8c9pLW8ZPPGd1MyYBvEdGN9Zhm786RwdtMJOTvp5k9sU6yxK+ULSXFXGGWZGqDe1ODoz9TlVST6b3QL5zGjsWyQk18jDJuzOT10BZKQ3ikwJe/+WY1gL0mbC66ivVzUjxMiGxZ6qZ/xtb83Egtc42+r46PG4/XmT5LWkuffbSFPVMC55xJR8NP828M2GH8rBu+tsfVBBHFAhckMlmwB+GFoMIejySCF7BPzlQecIYlQyj4umxtTKSHLXvAeZBBrWra+0pQykCaVaOm72PQ/ albert@nixos-vm-01"
|
|
|
|
];
|
2023-10-07 08:34:58 +02:00
|
|
|
|
|
|
|
nix.buildMachines = [
|
2023-10-06 12:41:55 +02:00
|
|
|
{
|
2023-10-06 12:42:26 +02:00
|
|
|
hostName = "nixos-vm-01"; # Only availalbe on the Headscale network
|
2023-10-07 08:54:59 +02:00
|
|
|
sshUser = "albert";
|
2023-10-06 12:41:55 +02:00
|
|
|
protocol = "ssh-ng";
|
|
|
|
maxJobs = 4;
|
|
|
|
speedFactor = 2;
|
2023-10-07 08:54:59 +02:00
|
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
2023-10-06 12:41:55 +02:00
|
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
|
|
mandatoryFeatures = [ ];
|
|
|
|
}
|
|
|
|
];
|
2023-10-07 08:34:58 +02:00
|
|
|
nix.distributedBuilds = true;
|
|
|
|
nix.extraOptions = ''builders-use-substitutes = true'';
|
2023-10-06 12:41:55 +02:00
|
|
|
}
|