2023-09-25 18:49:31 +00:00
|
|
|
{ config, ... }:
|
2020-12-18 06:10:48 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
nix = {
|
2023-08-26 23:00:18 +00:00
|
|
|
buildMachines = [{
|
2023-09-25 01:46:02 +00:00
|
|
|
hostName = "starlight.manehattan.artem.ist";
|
|
|
|
sshUser = "build";
|
2023-08-26 23:00:18 +00:00
|
|
|
supportedFeatures = [ "kvm" "big-parallel" "benchmark" "nixos-text" ];
|
|
|
|
system = "x86_64-linux";
|
|
|
|
maxJobs = 2;
|
|
|
|
}];
|
2020-12-18 06:10:48 +00:00
|
|
|
distributedBuilds = true;
|
|
|
|
extraOptions = ''
|
|
|
|
builders-use-substitutes = true
|
|
|
|
'';
|
|
|
|
};
|
2023-09-25 01:46:02 +00:00
|
|
|
|
2023-09-25 18:49:31 +00:00
|
|
|
home-manager.users.root = {
|
|
|
|
home.stateVersion = config.system.stateVersion;
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
userKnownHostsFile =
|
|
|
|
"~/.ssh/known_hosts ${../home/ssh/extra_known_hosts}";
|
|
|
|
};
|
2023-09-25 01:46:02 +00:00
|
|
|
};
|
2020-12-18 06:10:48 +00:00
|
|
|
}
|