deploy: speed up by using caches
Specifying the Nix config file only work in the Nix Flakes branch for the moment. Load from both the nix-community and nixpkgs-update cached to speed-up deployment.
This commit is contained in:
parent
ddbaa6463d
commit
b9135bd585
2 changed files with 3 additions and 0 deletions
1
.envrc
1
.envrc
|
@ -1 +1,2 @@
|
|||
export NIX_USER_CONF_FILES=$PWD/nix/nix.conf
|
||||
use nix
|
||||
|
|
2
nix/nix.conf
Normal file
2
nix/nix.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
substituters = https://cache.nixos.org https://nix-community.cachix.org/ https://nixpkgs-update.cachix.org/
|
||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8=
|
Loading…
Add table
Reference in a new issue