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, lib,
... ...
}: { }: {
zramSwap = {
enable = true;
algorithm = "zstd";
};
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ../extras/libinput-overlay.nix) (import ../extras/libinput-overlay.nix)
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# fw-ectool # fw-ectool
framework-tool framework-tool
nvtopPackages.amd 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.power-profiles-daemon.enable = true;
services.fwupd.enable = true; services.fwupd.enable = true;
services.fprintd.enable = true; services.fprintd.enable = true;