Trim down caches

This commit is contained in:
Sridhar Ratnakumar 2022-06-16 14:44:33 -04:00
parent 6e89eefc99
commit 956bd6233d
2 changed files with 10 additions and 5 deletions

View file

@ -95,7 +95,12 @@
./nixos/server/harden.nix
./nixos/hercules.nix
];
# This is run in qemu only.
# For downloading stuff off internet in VPN.
#
# This is run in qemu only, which is useful to keep the host machine
# directly connected to the network (for acccess from outside).
#
# > nixos-shell --flake github:srid/nixos-config#corsair
corsair = pkgs.lib.makeOverridable nixpkgs.lib.nixosSystem {
inherit system pkgs;

View file

@ -1,12 +1,12 @@
{ pkgs, ... }: {
nix.binaryCachePublicKeys = [
"srid.cachix.org-1:MTQ6ksbfz3LBMmjyPh0PLmos+1x+CdtJxA/J2W+PQxI="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
# "srid.cachix.org-1:MTQ6ksbfz3LBMmjyPh0PLmos+1x+CdtJxA/J2W+PQxI="
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
nix.binaryCaches = [
"https://srid.cachix.org"
"https://nix-community.cachix.org"
# "https://srid.cachix.org"
# "https://nix-community.cachix.org"
"https://cache.garnix.io"
];
}