flake: move flake's substituter to ./flakes/*

This commit is contained in:
Guanran Wang 2023-11-05 21:14:23 +08:00
parent 9ad52c1baa
commit d683d4bb53
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
3 changed files with 10 additions and 4 deletions

View file

@ -2,4 +2,8 @@
nixpkgs.overlays = [
inputs.berberman.overlays.default
];
nix.settings = {
substituters = ["https://berberman.cachix.org"];
trusted-public-keys = ["berberman.cachix.org-1:UHGhodNXVruGzWrwJ12B1grPK/6Qnrx2c3TjKueQPds="];
};
}

View file

@ -0,0 +1,6 @@
{...}: {
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
}

View file

@ -8,14 +8,10 @@
"https://mirror.sjtu.edu.cn/nix-channels/store" # SJTU - 上海交通大学 Mirror
"https://nix-community.cachix.org"
"https://berberman.cachix.org"
"https://hyprland.cachix.org"
"https://cache.garnix.io"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"berberman.cachix.org-1:UHGhodNXVruGzWrwJ12B1grPK/6Qnrx2c3TjKueQPds="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
use-xdg-base-directories = true;