This commit is contained in:
Daniel Olsen
2025-12-10 07:52:57 +01:00
parent f5a00999bd
commit d9928885c8
3 changed files with 39 additions and 28 deletions

View File

@@ -8,7 +8,6 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../common/builder.nix
];
@@ -16,6 +15,7 @@
repositoryFile = "/root/restic-main-repo";
passwordFile = "/root/restic-main-password";
pruneOpts = [
"-keep-tag keep"
"--keep-last 2"
"--keep-within 3d"
"--keep-daily 7"
@@ -34,8 +34,8 @@
"/home/*/.cargo"
"/home/*/.local/share/Steam/*"
"!/home/*/.local/share/Steam/compatdata"
"/home/*/.local/share/Steam/*"
"/home/*/mnt"
];
@@ -200,6 +200,26 @@
# services.ipfs.enable = true;
# services.ipfs.gatewayAddress = "/ip4/127.0.0.1/tcp/5002";
nix.distributedBuilds = true;
nix.buildMachines = [
{ hostName = "soryu";
system = "x86_64-linux";
maxJobs = 16;
supportedFeatures = [ "big-parallel" ];
speedFactor = 66317;
}
# { hostName = "bolle.pbsds.net";
# system = "x86_64-linux";
# maxJobs = 6;
# speedFactor = 12857;
# }
# { hostName = "garp.pbsds.net";
# system = "x86_64-linux";
# maxJobs = 4;
# # i7-6700
# speedFactor = 8088;
# }
];
nix.trustedUsers = [ "daniel" ];
nix.extraOptions = ''
experimental-features = nix-command flakes