Add caching substitutors to system and to this flake specifically

main
Bo Jeanes 2024-07-19 22:27:20 +10:00
parent ed5f702db8
commit 8eb166a251
No known key found for this signature in database
1 changed files with 15 additions and 0 deletions

View File

@ -155,6 +155,13 @@
allowed-users = [ "root" myUsername "@nixbld" ];
auto-optimise-store = true; # https://daiderd.com/nix-darwin/manual/index.html#opt-nix.settings.auto-optimise-store
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
extraOptions = ''
@ -538,4 +545,12 @@
};
}
);
nixConfig = {
extra-substituters = [
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}