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

View file

@ -22,19 +22,7 @@
settings.auto-optimise-store = true;
};
nix.settings = {
trusted-users = ["leana"];
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="
];
};
nix.settings.trusted-users = ["leana"];
environment.systemPackages = with pkgs; [
vim