diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:52:03 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-16 02:52:03 -0800 |
commit | 00c8654a02716808dd8709d89bb14ddd1dae4870 (patch) | |
tree | de4168e5403be1da414548b88e61e93d3f9de724 /nix/systems | |
parent | 3e1007b1155447a244fea8a84be223cf774e262d (diff) |
add sounds
Diffstat (limited to 'nix/systems')
-rw-r--r-- | nix/systems/installer/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
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/)/" |