fix: don't add local cache to builder
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-05-29 21:13:27 -04:00
parent e692c2eee0
commit 343bf104d0

View file

@ -1,8 +1,11 @@
{ {
config, config,
lib,
pkgs, pkgs,
... ...
}: { }: let
inherit (lib) optionals;
in {
environment.systemPackages = [ environment.systemPackages = [
(pkgs.writeShellApplication { (pkgs.writeShellApplication {
name = "rebuild-no-cache"; name = "rebuild-no-cache";
@ -15,22 +18,25 @@
nix = { nix = {
settings = { settings = {
substituters = [ substituters =
"https://hyprland.cachix.org" [
"https://nix-gaming.cachix.org" "https://hyprland.cachix.org"
# Nixpkgs-Wayland "https://nix-gaming.cachix.org"
"https://cache.nixos.org" # Nixpkgs-Wayland
"https://nixpkgs-wayland.cachix.org" "https://cache.nixos.org"
"https://nix-community.cachix.org" "https://nixpkgs-wayland.cachix.org"
# Nix-community "https://nix-community.cachix.org"
"https://nix-community.cachix.org" # Nix-community
# Nh "https://nix-community.cachix.org"
"https://viperml.cachix.org" # Nh
# Caddy "https://viperml.cachix.org"
"https://caddycf.cachix.org" # Caddy
# Personal config cache "https://caddycf.cachix.org"
"https://cache.nelim.org" ]
]; ++ optionals (!config.services.nix-serve.enable) [
# Personal config cache
"https://cache.nelim.org"
];
trusted-public-keys = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="