distributed compilation

This commit is contained in:
Tao Tien 2024-04-18 13:55:43 -07:00
parent af8415d329
commit 8af5581856

View file

@ -4,15 +4,31 @@
lib,
...
}: {
zramSwap = {
enable = true;
algorithm = "zstd";
};
nixpkgs.overlays = [
(import ../extras/libinput-overlay.nix)
];
environment.systemPackages = with pkgs; [
# fw-ectool
framework-tool
nvtopPackages.amd
];
nix.buildMachines = [
{
hostName = "nocomputer";
systems = ["x86_64-linux"];
}
];
nix.extraOptions = ''
builders-use-substitutes = true
'';
nix.distributedBuilds = true;
services.power-profiles-daemon.enable = true;
services.fwupd.enable = true;
services.fprintd.enable = true;