aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-06-20 19:06:56 +0200
committersrdusr <trevorgray@srdusr.com>2024-06-20 19:06:56 +0200
commit43f2a3723efda5ce2235eaddd1840c1e1858cc69 (patch)
treeceb8f73103c26d1fd5c5cba42c1d2a601d0baa15
parent9246f68def2e18bc92658f3fc637008109abbd73 (diff)
downloaddotfiles-43f2a3723efda5ce2235eaddd1840c1e1858cc69.tar.gz
dotfiles-43f2a3723efda5ce2235eaddd1840c1e1858cc69.zip
Testing
-rwxr-xr-xinstall.sh18
-rw-r--r--packages.yml11
2 files changed, 17 insertions, 12 deletions
diff --git a/install.sh b/install.sh
index 6cb4a19..e7b9181 100755
--- a/install.sh
+++ b/install.sh
@@ -26,6 +26,9 @@ if [ ! -d "$TRASH_DIR" ]; then
fi
fi
+# Move log file to Trash directory
+mv -f "$LOG_FILE" "$TRASH_DIR/"
+
# Redirect stderr to both stderr and log file
exec 2> >(tee -a "$LOG_FILE")
@@ -176,11 +179,6 @@ install_zsh_plugins() {
fi
}
-# install tailscale
-if ! command -v tailscale &>/dev/null; then
- curl -fsSL https://tailscale.com/install.sh | bash
-fi
-
#==============================================================================
#======================================
@@ -819,6 +817,12 @@ setup_tmux_plugins() {
fi
}
+install_tailscale() {
+ if ! command -v tailscale &>/dev/null; then
+ curl -fsSL https://tailscale.com/install.sh | bash
+ fi
+}
+
setup_ssh() {
SSH_DIR="$HOME/.ssh"
if ! [[ -f "$SSH_DIR/authorized_keys" ]]; then
@@ -844,6 +848,7 @@ linux_specific_steps() {
#install_nvm
#install_node
#install_yarn
+ install_tailscale
linux_install_packages
install_zsh_plugins
setup_tmux_plugins
@@ -920,7 +925,4 @@ main() {
handle_complete "Installation completed successfully."
}
-# Move log file to Trash directory
-mv -f "$LOG_FILE" "$TRASH_DIR/"
-
main "$@"
diff --git a/packages.yml b/packages.yml
index da03db2..d6f1361 100644
--- a/packages.yml
+++ b/packages.yml
@@ -4,6 +4,7 @@ PackageManager:
- git
- curl
- wget
+ - yq
- zsh
- zsh-completions
- bash
@@ -11,7 +12,7 @@ PackageManager:
- clang
- gcc
- meson
- - llvm
+ # - llvm
- gdb
- make
- cmake
@@ -170,6 +171,7 @@ gentoo:
- dev-vcs/git
- net-misc/curl
- net-misc/wget
+ - app-misc/yq
- app-shells/zsh
- app-shells/zsh-completions
- app-shells/bash
@@ -177,7 +179,7 @@ gentoo:
- sys-devel/clang
- sys-devel/gcc
- dev-util/meson
- - sys-devel/llvm
+ # - sys-devel/llvm
- sys-devel/gdb
- sys-devel/make
- dev-util/cmake
@@ -186,7 +188,7 @@ gentoo:
- sys-apps/ripgrep
- sys-apps/fd
- dev-libs/tree-sitter
- - dev-lang/python
+ # - dev-lang/python
- dev-python/pip
- dev-python/virtualenvwrapper
- sys-apps/time
@@ -213,6 +215,7 @@ gentoo:
- net-misc/rsync
- net-misc/net-tools
- x11-base/xorg-server
+ - x11-base/xorg-drivers
- gui-libs/wayland
- x11-apps/xwayland
- x11-misc/xclip
@@ -222,7 +225,7 @@ gentoo:
- x11-misc/dunst
- app-antivirus/clamav
- sys-apps/reflector
- - www-client/firefox
+ - www-client/firefox-bin
- sys-fs/udiskie
- sys-power/powertop
- sys-process/iftop