File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ if [[ "$(uname -m | tr -d '[:space:]')" == "riscv64" ]]; then
2929 # Enable Experimental Features
3030 sudo mkdir -p " /etc/nix"
3131 echo " experimental-features = nix-command flakes" | sudo tee -a " /etc/nix/nix.conf"
32- mkdir -p " ${HOME} /.config"
32+ echo " require-sigs = false" | sudo tee -a " /etc/nix/nix.conf"
33+ echo " substituters = https://cache.nixos.org/ https://cache.nichi.co https://cache.ztier.in" | sudo tee -a " /etc/nix/nix.conf"
34+ echo " trusted-substituters = https://cache.nixos.org/ https://cache.nichi.co https://cache.ztier.in" | sudo tee -a " /etc/nix/nix.conf"
35+ mkdir -p " ${HOME} /.config/nix"
3336 ln -fsv " /etc/nix/nix.conf" " ${HOME} /.config/nix/nix.conf"
3437else
3538 # #https://github.com/DeterminateSystems/nix-installer
5356 export NIXPKGS_ALLOW_UNFREE=" 1"
5457 export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=" 1"
5558 # Update Channels
56- nix --version && nix-channel --list && nix-channel --update
59+ nix --version
60+ nix-channel --add " https://nixos.org/channels/nixos-unstable" " nixedge"
61+ nix-channel --list && nix-channel --update
62+ nix registry add " nixpkgs" " github:NixOS/nixpkgs/nixpkgs-unstable" ; nix registry list
5763 # Seed Local Data
5864 nix derivation show " nixpkgs#hello" --impure --refresh --quiet
5965 # Build Bash (triggers bootstrap)
You can’t perform that action at this time.
0 commit comments