diff --git a/ada/nix/settings/substituters.nix b/ada/nix/settings/substituters.nix new file mode 100644 index 0000000..07934d8 --- /dev/null +++ b/ada/nix/settings/substituters.nix @@ -0,0 +1,26 @@ +_: { + nix = { + settings = { + substituters = [ + # cache.nixos.org + "https://cache.nixos.org" + # "https://mirror.yandex.ru/nixos" + + # cache.garnix.org + "https://cache.garnix.io" + + # cachix + "https://nix-community.cachix.org" + "https://chaotic-nyx.cachix.org" + "https://hyprland.cachix.org" + "https://devenv.cachix.org" + + # nix-community + "https://hydra.nix-community.org" + + # cachyos kernels + "https://attic.xuyh0120.win/lantian" + ]; + }; + }; +} diff --git a/ada/nix/settings/trusted-public-keys.nix b/ada/nix/settings/trusted-public-keys.nix index 87843e2..7c7d46c 100644 --- a/ada/nix/settings/trusted-public-keys.nix +++ b/ada/nix/settings/trusted-public-keys.nix @@ -4,14 +4,19 @@ _: { trusted-public-keys = [ # cache.nixos.org "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + # cache.garnix.io "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + # cachix.org "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" - "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + + # attic.xuyh0120.win + "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ]; }; }; diff --git a/ada/nix/settings/trusted-substituters.nix b/ada/nix/settings/trusted-substituters.nix deleted file mode 100644 index b5d0387..0000000 --- a/ada/nix/settings/trusted-substituters.nix +++ /dev/null @@ -1,19 +0,0 @@ -_: { - nix = { - settings = { - trusted-substituters = [ - # cache.nixos.org - "https://nixos-cache-proxy.cofob.dev" - "https://cache.nixos.org" - # cache.garnix.org - "https://cache.garnix.io" - # cachix - "https://nix-community.cachix.org/" - "https://chaotic-nyx.cachix.org/" - "https://ags.cachix.org" - "https://hyprland.cachix.org" - "https://chaotic-nyx.cachix.org/" - ]; - }; - }; -}