summaryrefslogtreecommitdiff
path: root/.config/yadm/bootstrap
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-02-19 18:46:58 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-02-22 16:40:15 +0100
commitd4645d2c48434ba7210921a7a170596fb987db03 (patch)
tree9116640e2fd6a612fd3c7e5e01d1b3bab5b3d76c /.config/yadm/bootstrap
parent2daa93b9985ecb8aba6531fdd93859a8dd451be3 (diff)
[yadm] bootstrap packages for complete install
Diffstat (limited to '.config/yadm/bootstrap')
-rwxr-xr-x.config/yadm/bootstrap67
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
+"