Remote builds using boss-baby, Plasma beta, enable btrfs zstd compression

This commit is contained in:
SIPB 2025-09-25 13:56:44 -04:00
parent 7c52d6e55c
commit 6d16429319
3 changed files with 57 additions and 5 deletions

View file

@ -6,6 +6,7 @@
config,
lib,
pkgs,
pkgs-plasma-beta,
...
}:
@ -15,11 +16,33 @@
./hardware-configuration.nix
];
nix.settings.experimental-features = [
"nix-command"
"flakes"
nixpkgs.overlays = [
(self: super: {
kdePackages = pkgs-plasma-beta.kdePackages;
})
];
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
builders-use-substitutes = true;
max-jobs = 0;
};
distributedBuilds = true;
buildMachines = [
{
hostName = "boss-baby";
sshUser = "root";
protocol = "ssh-ng";
system = pkgs.stdenv.hostPlatform.system;
maxJobs = 4;
}
];
};
boot = {
loader = {
# Use the systemd-boot EFI boot loader.
@ -31,6 +54,10 @@
kernelPackages = pkgs.linuxPackages_latest;
};
fileSystems."/".options = [
"compress=zstd"
];
networking = {
hostName = "chromatic-aberration";
networkmanager.enable = true;