diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-25 19:46:48 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-25 19:46:48 +0530 |
commit | bf1bd4d7836a5333824be7bff4928120ddf0ea73 (patch) | |
tree | 4010636ba1d6a4b48f3ca9fd8bb0e27f65f4c36c /scripts | |
parent | ee0a5d881c896ccbd05ec16b5d7e3f12774c6844 (diff) |
update
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/provision-root.sh | 2 | ||||
-rw-r--r-- | scripts/provision-user.sh | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/scripts/provision-root.sh b/scripts/provision-root.sh index f44fdba..224a6f1 100644 --- a/scripts/provision-root.sh +++ b/scripts/provision-root.sh @@ -7,6 +7,6 @@ export DEBIAN_FRONTEND=noninteractive apt-get update apt-get upgrade -y -apt-get install -y git +apt-get install -y git curl xz-utils sudo ssh unset DEBIAN_FRONTEND diff --git a/scripts/provision-user.sh b/scripts/provision-user.sh index 39da031..659feef 100644 --- a/scripts/provision-user.sh +++ b/scripts/provision-user.sh @@ -12,12 +12,14 @@ nix-channel --update nix-shell '<home-manager>' -A install . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" +mkdir -p ~/.ssh ssh-keyscan github.com >> ~/.ssh/known_hosts -git clone git@github.com:compromyse/dotfiles $HOME/.config/home-manager/dotfiles -git clone git@github.com:tmux-plugins/tpm $HOME/.tmux/plugins/tpm +git clone https://github.com/compromyse/dotfiles $HOME/.config/home-manager/dotfiles +# git clone git@github.com:compromyse/dotfiles $HOME/.config/home-manager/dotfiles +# git clone git@github.com:tmux-plugins/tpm $HOME/.tmux/plugins/tpm rm $HOME/.config/home-manager/home.nix -ln -s $HOME/.config/home-manager/dotfiles/machines/v/home.nix $HOME/.config/home-manager/home.nix +ln -s $HOME/.config/home-manager/dotfiles/machines/$CONFIG/home.nix $HOME/.config/home-manager/home.nix sudo apt-get purge -y git sudo apt-get autoremove -y @@ -27,4 +29,4 @@ home-manager switch -b backup rm $HOME/result -~/.tmux/plugins/tpm/bin/install_plugins +# ~/.tmux/plugins/tpm/bin/install_plugins |