nixos,flakes: lib.mkAfter

This commit is contained in:
Guanran Wang 2023-11-10 01:27:22 +08:00
parent f8069d23f8
commit 90f5949e70
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 8 additions and 4 deletions

View file

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

View file

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