Skip to content

Commit f2b9f7b

Browse files
committed
flake: binary caches
1 parent 77afd70 commit f2b9f7b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

flake.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,13 @@
127127
];
128128
};
129129
});
130+
# Sets substituters to avoid locally building something already built
131+
nixConfig = {
132+
extra-substituters =
133+
[ "https://crane.cachix.org" "https://cache.garnix.io" ];
134+
extra-trusted-public-keys = [
135+
"crane.cachix.org-1:8Scfpmn9w+hGdXH/Q9tTLiYAE/2dnJYRJP7kl80GuRk="
136+
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
137+
];
138+
};
130139
}

0 commit comments

Comments
 (0)