ensuring the modules can be run as standalone scripts

This commit is contained in:
aminnairi
2026-03-16 06:03:23 +01:00
parent 3e7c90e9b4
commit 61977702cf
16 changed files with 33 additions and 19 deletions
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_system_is_updated &&
ensure_package_is_installed git &&
ensure_package_is_installed github-cli &&
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_git_configuration_set "user.name" &&
ensure_git_configuration_set "user.email" &&
ensure_git_configuration_set "init.defaultbranch" &&
+1 -1
View File
@@ -1,8 +1,8 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed docker &&
ensure_package_is_installed docker-compose &&
ensure_package_is_installed lazydocker &&
ensure_group_is_installed docker &&
ensure_service_active docker
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed nvim &&
ensure_package_is_installed lazygit &&
synchronize_user_folder ./sources/nvim/ ~/.config/nvim &&
synchronize_root_folder ./sources/nvim /root/.config/nvim
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed fish &&
ensure_package_is_installed eza &&
ensure_package_is_installed bat &&
+1 -1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed ttf-jetbrains-mono-nerd &&
ensure_package_is_installed noto-fonts &&
ensure_package_is_installed noto-fonts-emoji &&
@@ -7,4 +8,3 @@ ensure_package_is_installed ttf-jetbrains-mono-nerd &&
ensure_package_is_installed noto-fonts-ar &&
synchronize_user_folder ./sources/fontconfig ~/.config &&
synchronize_root_folder ./sources/fontconfig /root/.config
+2
View File
@@ -1,3 +1,5 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_service_active acpid
+1 -1
View File
@@ -1,8 +1,8 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_group_is_installed gnome &&
ensure_package_group_is_installed gnome-extra &&
ensure_package_is_installed python-psutil &&
ensure_service_active gdm &&
ensure_gnome_setting_set "org.gnome.desktop.input-sources" "xkb-options" "['compose:ralt']"
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed kitty &&
ensure_package_is_installed viu &&
ensure_package_is_installed ueberzugpp &&
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed tmux &&
ensure_git_folder_installed_for_user tmux-plugins/tpm ~/.tmux/plugins/tpm &&
ensure_git_folder_installed_for_root tmux-plugins/tpm /root/.tmux/plugins/tpm &&
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed syncthing &&
ensure_user_folder_present ~/.config/systemd/user &&
synchronize_user_folder ./sources/syncthing/syncthing.service ~/.config/systemd/user &&
+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source ./modules/00-library.sh &&
ensure_package_is_installed yazi &&
ensure_package_is_installed ffmpeg &&
ensure_package_is_installed 7zip &&
+1
View File
@@ -1 +1,2 @@
source ./modules/00-library.sh &&
ensure_package_is_installed rustup
+1
View File
@@ -1,5 +1,6 @@
#!/bin/sh
source ./modules/00-library.sh &&
ensure_package_is_installed steam &&
ensure_package_is_installed bluez &&
ensure_package_is_installed bluez-utils &&
+1
View File
@@ -1,3 +1,4 @@
source ./modules/00-library.sh &&
sudo sed -i "s/^#\?DNS=.*/DNS=157.90.170.95#dns.nairi.cloud/" /etc/systemd/resolved.conf &&
sudo sed -i "s/^#\?DNSOverTLS=.*/DNSOverTLS=yes/" /etc/systemd/resolved.conf &&
ensure_service_active systemd-resolved
+2
View File
@@ -1,3 +1,5 @@
#!/bin/sh
source ./modules/00-library.sh &&
ensure_package_is_installed opencode &&
synchronize_user_folder sources/opencode ~/.config