nixconf/common/substitutors.nix

41 lines
1.1 KiB
Nix

{
...
}:
{
nix = {
settings = {
# auto optimise every so often
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
substituters = [
"https://cosmic.cachix.org/"
"https://hyprland.cachix.org"
"https://cache.iog.io"
"https://cuda-maintainers.cachix.org"
"https://nix-community.cachix.org"
"https://cache.iog.io"
];
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
system-features = [
"kvm"
"big-parallel"
"nixos-test"
];
allowed-uris = [
"github:"
"gitlab:"
"https://github.com/"
];
};
};
}