From 00c8654a02716808dd8709d89bb14ddd1dae4870 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 16 Jan 2025 02:52:03 -0800 Subject: add sounds --- nix/systems/installer/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'nix/systems') diff --git a/nix/systems/installer/default.nix b/nix/systems/installer/default.nix index 02f3b7e..8b95009 100644 --- a/nix/systems/installer/default.nix +++ b/nix/systems/installer/default.nix @@ -26,14 +26,13 @@ if [ "$(id -u)" -eq 0 ]; then fi ping -q -c1 google.com &>/dev/null && echo "online! Proceeding with the installation..." || nmtui cd -if [ ! -d "$HOME/toughnix/" ]; then - git clone https://git.nullring.xyz/monorepo.git +if [ ! -d "$HOME/monorepo/" ]; then + git clone --recurse-submodules https://git.nullring.xyz/monorepo.git cd monorepo git checkout "${commits.monorepoCommitHash}" fi -vim "$HOME/monorepo/nix/modules/default.nix" -vim "$HOME/monorepo/nix/modules/vars.nix" -sudo nix --experimental-features "nix-command flakes" run "github:nix-community/disko/${commits.diskoCommitHash}" -- --mode destroy,format,mount "$HOME/monorepo/nix/systems/desktop/sda-simple.nix" +vim "$HOME/monorepo/nix/systems/continuity/default.nix" +sudo nix --experimental-features "nix-command flakes" run "github:nix-community/disko/${commits.diskoCommitHash}" -- --mode destroy,format,mount "$HOME/monorepo/nix/modules/sda-simple.nix" cd /mnt sudo nixos-install --flake $HOME/monorepo/nix#continuity sudo cp $HOME/monorepo "/mnt/home/$(ls /mnt/home/)/" -- cgit