document --substituters
nix options
This commit is contained in:
parent
9f43444f0c
commit
88fba6f496
|
@ -24,6 +24,9 @@ in
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# use our own binary cache
|
# use our own binary cache
|
||||||
|
# to explicitly build from a specific cache (in case others are down):
|
||||||
|
# - `nixos-rebuild ... --option substituters https://cache.nixos.org`
|
||||||
|
# - `nix build ... --substituters http://desko:5000`
|
||||||
nix.settings.substituters = mkIf cfg.enable [
|
nix.settings.substituters = mkIf cfg.enable [
|
||||||
"https://nixcache.uninsane.org"
|
"https://nixcache.uninsane.org"
|
||||||
"http://desko:5000"
|
"http://desko:5000"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user