diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-03 20:20:16 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-03 20:20:16 -0800 |
commit | 4ddc81f0babf956f22c5d70acd578eca143651a2 (patch) | |
tree | 937337dfb8d89b0150a66b39e08a9fe061c40155 /initial-deploy.sh | |
parent | 59fd05d0584a77035073e93a538b71a8f409bacb (diff) |
update README link; update to 24.11; initial-deploy script
Diffstat (limited to 'initial-deploy.sh')
-rwxr-xr-x[-rw-r--r--] | initial-deploy.sh | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/initial-deploy.sh b/initial-deploy.sh index 63f1f90..fe31da2 100644..100755 --- a/initial-deploy.sh +++ b/initial-deploy.sh @@ -1,6 +1,26 @@ #!/bin/sh -# install git first. + +# Install git first, and you'd probably want vim to make changes. +# You'll also need an ssh key to my server. You can change the +# sources if you don't have access to my server. +sudo mv /etc/nixos/configuration.nix /etc/nixos/configuration.nix.old +sudo ln $HOME/src/hyprnixmacs/flake.nix /etc/nixos/ +sudo ln $HOME/src/hyprnixmacs/flake.lock /etc/nixos/ +sudo ln $HOME/src/hyprnixmacs/configuration.nix /etc/nixos/ +sudo ln $HOME/src/hyprnixmacs/home.nix /etc/nixos/ + mkdir -p ~/org -git clone git@github.com:ret2pop/ret2pop-website ~/org/website +git clone git@nullring.xyz:/var/git/ret2pop-website ~/org/website +# git clone https://git.nullring.xyz/ret2pop-website.git ~/org/website mkdir -p ~/src git clone git@nullring.xyz:/var/git/publish-org-roam-ui ~/src +# git clone https://git.nullring.xyz/publish-org-roam-ui.git ~/org/website + +cd /etc/nixos +sudo nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update +read -p "press enter to continue with installing after making changes with vim:" +sudo nixos-rebuild switch + +echo "Installlation done! Rebooting..." +sleep 3 +reboot |