36 lines
905 B
Nix
36 lines
905 B
Nix
{ lib, ... }:
|
|
let
|
|
user = "matt";
|
|
in
|
|
{
|
|
nix = {
|
|
settings = {
|
|
substituters = [
|
|
"https://cache.mjallen.dev"
|
|
"https://nix-community.cachix.org"
|
|
"https://cache.nixos.org/"
|
|
];
|
|
trusted-public-keys = [
|
|
"cache.mjallen.dev-1:IzFmKCd8/gggI6lcCXsW65qQwiCLGFFN9t9s2iw7Lvc="
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
];
|
|
warn-dirty = lib.mkForce false;
|
|
experimental-features = lib.mkForce [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
trusted-users = [ user ];
|
|
};
|
|
settings.builders-use-substitutes = true;
|
|
distributedBuilds = true;
|
|
buildMachines = [
|
|
{
|
|
hostName = "jallen-nas.local";
|
|
system = "x86_64-linux";
|
|
maxJobs = 10;
|
|
sshUser = "admin";
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
}
|
|
];
|
|
};
|
|
} |