diff options
Diffstat (limited to '.config/yadm/bootstrap')
-rwxr-xr-x | .config/yadm/bootstrap | 67 |
1 files changed, 23 insertions, 44 deletions
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 4ca1086..c129d07 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -1,51 +1,30 @@ -#!/bin/sh +#!/bin/bash -# # -# zsh -# # -ZSH=$HOME/.config/zsh/ohmyzsh +$(dirname $BASH_SOURCE)/scripts/bootstrap/packages +$(dirname $BASH_SOURCE)/scripts/bootstrap/packages-aur -if [ ! -d "$ZSH" ]; then - sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -fi +yadm remote set-url origin "ssh://git.dweipert.de/repositories/dotfiles" -# # -# vim -# # +echo "Bootstrapping done! Please re-log." -if command -v nvim > /dev/null 2>&1; then - nvim --headless '+Lazy! sync' '+qall' -fi +echo "Afterwards setup pass and insert the following values: +.password-store +├── latitude.gpg +├── longitude.gpg +├── radicale +│ ├── password.gpg +│ ├── url.gpg +│ └── username.gpg +└── router + ├── name.gpg + ├── passphrase.gpg + └── security.gpg +" - -# # -# gammastep -# # - -if command -v gammastep > /dev/null 2>&1; then - sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-user@.service" /etc/systemd/user/ - systemctl --user enable "gammastep-user$(pass latitude):$(pass longitude)" --now -fi - -# # -# fcitx5 -# # - -if command -v fcitx5 > /dev/null 2>&1; then - sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-user.service" /etc/systemd/user/ - sudo ln -s "$HOME/.config/fcitx5/systemd/fcitx5-user.timer" /etc/systemd/user/ - systemctl --user enable 'fcitx5-user.timer' --now -fi - - -# # -# pacman -# # - -# linux-lts-versioned-bin -if [ ! -f "/usr/share/libalpm/hooks/linux-lts-versioned-bin.hook" ]; then - sudo ln -s "$HOME/.config/pacman/hooks/linux-lts-versioned-bin.hook" /usr/share/libalpm/hooks/linux-lts-versioned-bin.hook - sudo ln -s "$HOME/.config/pacman/bin/linux-lts-versioned-bin-hook" /usr/local/bin/linux-lts-versioned-bin-hook -fi +echo "Other things to setup: +- ssh keys and connections +- Thunderbird +- rclone +" |