add(nix): share substituters across hosts

This commit is contained in:
Léana 江 2024-03-07 00:34:38 +01:00 committed by Léana 江
parent 3f367b60f9
commit f4d027ca72
5 changed files with 21 additions and 23 deletions

3
nix/hosts/_/default.nix Normal file
View file

@ -0,0 +1,3 @@
{
imports = [./substituters.nix];
}

View file

@ -0,0 +1,14 @@
{
nix.settings = {
trusted-substituters = [
"https://app.cachix.org/cache/leana8959"
"https://nix-community.cachix.org"
"https://llama-cpp.cachix.org"
];
trusted-public-keys = [
"leana8959.cachix.org-1:0kiyNv2RiR04ldLZRRm7EC3+4slPi364bX8JKzwpv6A="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"llama-cpp.cachix.org-1:H75X+w83wUKTIPSO1KWy9ADUrzThyGs8P5tmAbkWhQc="
];
};
}