All the updates after this mess, should be good now
This commit is contained in:
parent
28c916d0ef
commit
a4f8f48f4b
18 changed files with 532 additions and 32 deletions
|
@ -3,6 +3,8 @@
|
|||
stdenv,
|
||||
git,
|
||||
gum,
|
||||
git,
|
||||
gum,
|
||||
writeShellApplication,
|
||||
}:
|
||||
writeShellApplication
|
||||
|
@ -16,7 +18,7 @@ writeShellApplication
|
|||
set -e
|
||||
pushd /tmp > /dev/null
|
||||
rm -rf ./install-nix
|
||||
git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./install-nix
|
||||
git clone https://codeberg.org/Lillian-Violet/NixOS-Config.git ./install-nix
|
||||
pushd ./install-nix/nixos/hosts > /dev/null
|
||||
echo "Please choose the hostname you are installing to from the following list:"
|
||||
i=1
|
||||
|
@ -39,9 +41,11 @@ writeShellApplication
|
|||
"./disko/''${dir}/default.nix"
|
||||
echo "NixOS Installing..."
|
||||
sudo nixos-install --flake .#"''${dir}"
|
||||
sudo nixos-install --flake .#"''${dir}"
|
||||
popd > /dev/null
|
||||
echo "Cleaning up repository in '/tmp/install-nix'..."
|
||||
rm -rf ./install-nix
|
||||
rm -rf ./install-nix
|
||||
popd > /dev/null
|
||||
echo "NixOS Install Succeeded!"
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue