Compare commits
3 Commits
31b1622eb1
...
46df9afb0c
Author | SHA1 | Date | |
---|---|---|---|
|
46df9afb0c | ||
793d9300ee | |||
0606e29433 |
@ -107,7 +107,8 @@ sed -i "s~# boot\.loader\.grub\.device = \"/dev/sda\";~boot\.loader\.grub\.devic
|
|||||||
|
|
||||||
echo "[I] Install NixOS"
|
echo "[I] Install NixOS"
|
||||||
|
|
||||||
export NIX_CONFIG=<(echo "experimental-features = flakes nix-command\nsubstituters = https://nix-cache.clerie.de\ntrusted-public-keys = nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=\n" )
|
NIX_CONFIG=$(printf "extra-experimental-features = flakes nix-command\nextra-substituters = https://nix-cache.clerie.de\nextra-trusted-public-keys = nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=\n")
|
||||||
|
export NIX_CONFIG
|
||||||
|
|
||||||
nixos-install --flake "/mnt/etc/nixos#${hostname}" --root /mnt --no-root-password
|
nixos-install --flake "/mnt/etc/nixos#${hostname}" --root /mnt --no-root-password
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user