eve-psr-nix0/nix/system/nix-conf.nix

24 lines
560 B
Nix
Raw Normal View History

2023-07-01 15:17:05 -05:00
{ config, ... }: {
services = {
nix-serve = {
enable = true;
secretKeyFile = config.age.secrets.cache-key.path;
};
};
2023-06-26 16:19:14 -05:00
nix = {
buildMachines = [
{
hostName = "localhost";
system = "x86_64-linux";
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
maxJobs = 8;
}
];
2023-06-26 16:19:14 -05:00
distributedBuilds = false;
settings = {
auto-optimise-store = false; # https://github.com/NixOS/nix/issues/7273
experimental-features = [ "nix-command" "flakes" ];
};
};
}