nixpkgs/home/programs/nix.nix
Daniel Siepmann 175ebf65b2
Add nix community binary caches from cachix.org
No use case yet, but that way I don't have to worry in future.
2022-03-28 13:57:31 +02:00

45 lines
783 B
Nix

{ pkgs }:
{
enable = true;
package = pkgs.nix;
settings = {
experimental-features = [
"nix-command"
"flakes"
];
substituters = [
"https://cache.nixos.org"
"https://fossar.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"fossar.cachix.org-1:Zv6FuqIboeHPWQS7ysLCJ7UT7xExb4OE8c4LyGb5AsE="
"Keynix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
registry = {
customer-projects = {
from = {
id = "cp";
type = "indirect";
};
to = {
path = toString ./../../registries/customer-projects;
type = "path";
};
};
};
}