use builder on solo

This commit is contained in:
Henri Dohmen 2025-08-14 23:08:10 +02:00
parent cfcd5ed37f
commit e85b3fd73f
Signed by: hd
GPG key ID: AB79213B044674AE
2 changed files with 52 additions and 4 deletions

View file

@ -21,11 +21,35 @@ _: {
}; };
}; };
nix.gc = { nix = {
buildMachines = [
{
hostName = "noravm";
sshUser = "nixremote";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 10;
speedFactor = 2;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 15d"; options = "--delete-older-than 15d";
}; };
};
# ====== DON'T CHANGE ====== # ====== DON'T CHANGE ======
system.stateVersion = "24.11"; system.stateVersion = "24.11";

View file

@ -28,6 +28,30 @@
hd.desktop.enable = true; hd.desktop.enable = true;
nix = {
buildMachines = [
{
hostName = "noravm";
sshUser = "nixremote";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 10;
speedFactor = 2;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
};
# ====== DON'T CHANGE ====== # ====== DON'T CHANGE ======
system.stateVersion = "25.05"; system.stateVersion = "25.05";
} }