Update install.sh

This commit is contained in:
Aaron Honeycutt 2024-01-18 13:58:07 +00:00
parent 054635f1fc
commit b637d3bfe2

View file

@ -28,6 +28,9 @@ sudo nix --experimental-features "nix-command flakes" run github:nix-community/d
sudo nixos-generate-config --no-filesystems --root /mnt sudo nixos-generate-config --no-filesystems --root /mnt
sudo mv /tmp/disko-config.nix /mnt/etc/nixos sudo mv /tmp/disko-config.nix /mnt/etc/nixos
# Removes generated configuration file as it's being replaced with our own
sudo rm /mnt/etc/nixos/configuration.nix
# Downloads and places the predefinded generic flake to use # Downloads and places the predefinded generic flake to use
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/flake.nix > flake.nix; sudo mv -f flake.nix /mnt/etc/nixos/
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/configuration.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/ curl https://gitlab.com/ahoneybun/nix-configs/-/raw/flake/configuration.nix > configuration.nix; sudo mv -f configuration.nix /mnt/etc/nixos/