hosts: consolidate substituters

This commit is contained in:
Aly Raffauf 2024-07-08 17:54:12 -04:00
parent d7b614187f
commit d63e7615bc
3 changed files with 25 additions and 15 deletions

View file

@ -27,9 +27,15 @@
}; };
nixConfig = { nixConfig = {
extra-substituters = ["https://hyprland.cachix.org"]; extra-substituters = [
"https://alyraffauf.cachix.org"
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [ extra-trusted-public-keys = [
"alyraffauf.cachix.org-1:GQVrRGfjTtkPGS8M6y7Ik0z4zLt77O0N25ynv2gWzDM="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
]; ];
}; };

View file

@ -79,7 +79,24 @@
} }
]; ];
nix.settings.trusted-users = ["aly"]; nix = {
settings = {
substituters = [
"https://alyraffauf.cachix.org"
"https://cache.nixos.org/"
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"alyraffauf.cachix.org-1:GQVrRGfjTtkPGS8M6y7Ik0z4zLt77O0N25ynv2gWzDM="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-users = ["aly"];
};
};
nixpkgs = { nixpkgs = {
config.allowUnfree = true; # Allow unfree packages config.allowUnfree = true; # Allow unfree packages

View file

@ -6,19 +6,6 @@
... ...
}: { }: {
config = lib.mkIf config.ar.desktop.hyprland.enable { config = lib.mkIf config.ar.desktop.hyprland.enable {
nix.settings = {
auto-optimise-store = false;
substituters = [
"https://hyprland.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
programs = { programs = {
hyprland = { hyprland = {
enable = true; enable = true;