fix: don't add local cache to builder
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
e692c2eee0
commit
343bf104d0
|
@ -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,7 +18,8 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
substituters = [
|
substituters =
|
||||||
|
[
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://nix-gaming.cachix.org"
|
"https://nix-gaming.cachix.org"
|
||||||
# Nixpkgs-Wayland
|
# Nixpkgs-Wayland
|
||||||
|
@ -28,6 +32,8 @@
|
||||||
"https://viperml.cachix.org"
|
"https://viperml.cachix.org"
|
||||||
# Caddy
|
# Caddy
|
||||||
"https://caddycf.cachix.org"
|
"https://caddycf.cachix.org"
|
||||||
|
]
|
||||||
|
++ optionals (!config.services.nix-serve.enable) [
|
||||||
# Personal config cache
|
# Personal config cache
|
||||||
"https://cache.nelim.org"
|
"https://cache.nelim.org"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue