use LAN cache for initial install

This commit is contained in:
Sebastien Bourdeauducq 2023-03-14 11:23:49 +08:00
parent a2667b988a
commit 97793a258c
1 changed files with 4 additions and 2 deletions

6
README
View File

@ -16,8 +16,10 @@ nix-env -iA nixos.git
rm /etc/nix/nix.conf rm /etc/nix/nix.conf
cp /etc/static/nix/nix.conf /etc/nix/nix.conf cp /etc/static/nix/nix.conf /etc/nix/nix.conf
vi /etc/nix/nix.conf vi /etc/nix/nix.conf
# set: substituters = https://cache.nixos.org/ https://nixbld.m-labs.hk/ # set:
# set: trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc= substituters = https://nixbld.m-labs.hk?priority=10 https://cache.nixos.org/
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc=
#
nixos-install --no-root-password --flake /mnt/etc/nixos#artiq nixos-install --no-root-password --flake /mnt/etc/nixos#artiq
reboot reboot
# run memtest86 # run memtest86