disable remote build

This commit is contained in:
Patrick Neff 2025-01-08 00:26:04 +01:00
parent bec0f66f0d
commit 965ae8944d
1 changed files with 10 additions and 10 deletions

View File

@ -12,12 +12,21 @@
trusted-users = [ "root" "@wheel" ]; trusted-users = [ "root" "@wheel" ];
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true; auto-optimise-store = true;
substituters = [
#"http://nix-cache.gaja-group.intranet:5000"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
#"nix-cache.gaja-group.intranet:EcUsafvI9NUrnab3DA71s2PGjAYMgct0FOvCwdYuStw="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
}; };
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
/*
buildMachines = [ buildMachines = [
{ {
hostName = "nix-cache.gaja-group.intranet"; hostName = "nix-cache.gaja-group.intranet";
@ -37,15 +46,6 @@
extraOptions = '' extraOptions = ''
builders-use-substitutes = true builders-use-substitutes = true
''; '';
settings = { */
substituters = [
"https://nix-community.cachix.org"
"http://nix-cache.gaja-group.intranet:5000"
];
trusted-public-keys = [
"nix-cache.gaja-group.intranet:EcUsafvI9NUrnab3DA71s2PGjAYMgct0FOvCwdYuStw="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}; };
} }