From d4645d2c48434ba7210921a7a170596fb987db03 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 19 Feb 2024 18:46:58 +0100 Subject: [yadm] bootstrap packages for complete install --- .config/yadm/bootstrap | 67 +++++++++++++++++--------------------------------- 1 file changed, 23 insertions(+), 44 deletions(-) (limited to '.config/yadm/bootstrap') 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 +" -- cgit v1.2.3