feat(nixos-testbed): Use Deertopia binary cache

This commit is contained in:
Madeleine Sydney
2025-03-10 15:16:47 -06:00
parent 2f937b471f
commit 0f68dd79e3
2 changed files with 17 additions and 1 deletions

2
flake.lock generated
View File

@@ -531,7 +531,7 @@
"nixpkgs": "nixpkgs_9" "nixpkgs": "nixpkgs_9"
}, },
"locked": { "locked": {
"lastModified": 1739938885, "lastModified": 1739936838,
"narHash": "sha256-h19Bg+BTV/51MiCnKa3rN3QbRC74cBWjBHhDrpVgdXM=", "narHash": "sha256-h19Bg+BTV/51MiCnKa3rN3QbRC74cBWjBHhDrpVgdXM=",
"path": "/persist/dots/scripts/sydnix-cli", "path": "/persist/dots/scripts/sydnix-cli",
"type": "path" "type": "path"

View File

@@ -102,6 +102,22 @@
# ]; # ];
# }; # };
nix = {
settings = {
substituters = [
"https://cache.deertopia.net"
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [
(builtins.readFile ../../public-keys/deertopia-cache.pub.pem)
"binarycache.example.com-1:dsafdafDFW123fdasfa123124FADSAD"
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
# This option defines the first version of NixOS you have installed on this # This option defines the first version of NixOS you have installed on this
# particular machine, and is used to maintain compatibility with application # particular machine, and is used to maintain compatibility with application
# data (e.g. databases) created on older NixOS versions. # data (e.g. databases) created on older NixOS versions.