Welcome to Titus Tech Forums! 👋

We are so glad you joined us.

Here are some things you can do to get started:

:speaking_head: Introduce yourself by adding your picture and information about yourself and your interests to your profile. What is one thing you’d like to be asked about?

:open_book: Get to know the community by browsing discussions that are already happening here. When you find a post interesting, informative, or entertaining, use the :heart: to show your appreciation or support!

:handshake: Contribute by commenting, sharing your own perspective, asking questions, or offering feedback in the discussion. Before replying or starting new topics, please review the Community Guidelines.

If you need help or have a suggestion, feel free to ask in Site Feedback or contact the admins.

2 Likes

Hi, I’m and old IT person who is getting back into linux. I’ve been dabbling for a few years and have committed to using Endeavor OS (Arch based distro) which I can run headless. Back in the early 1990’s I ran a Unix sys admin team and we were heavily in to scripting every thing. My .bashrc config file is nearly all Chris’s work, do I need permission to put it on github? With that in mind I have created an initial environment setup script.

Usage: ./setup_env.sh [OPTION]
A modular, rerunnable environment deployment suite for Arch-based Linux. Designed for systems architects who require reproducible CLI environments.

OPTIONS: -h, --help Show this detailed help message and exit.

ARCHITECTURE & STAGES: The script executes 11 distinct stages to stand up an environment:

1-4: SYSTEM PERSISTENCE Installs core binaries (SSHD, Tmux, NetworkManager, Trash-cli). Configures SSHD keep-alives and NoMachine (NX) listeners.
5: STORAGE ARCHITECTURE Detects and mounts backup hardware by filesystem LABEL ($DATA_BACKUP_LABEL). Uses udisks2 paths (/run/media/user/) or fallbacks to /mnt.
6-7: ENVIRONMENT TEMPLATING Deploys .tmux.conf and .bashrc from local templates. Injects dynamic variables (User, Home, Yank-command) into configs.
8-9: AUTOMATION Installs UI helpers (Starship, Zoxide, Fzf, Fastfetch) via AUR. Injects “Timeshift-on-Upgrade” logic into Topgrade configuration.
10-11: BACKUP & STYLE Generates a Back In Time profile with Hard-Link incremental logic. Deploys Starship styling for a high-information CLI prompt.

TEMPLATES REQUIRED (in script directory):

  • $BASH_TEMP : Main shell configuration.
  • $STAR_TEMP : Prompt styling and icons.
  • $TMUX_TEMP : Terminal multiplexer settings.
  • $BIT_TEMP : Backup policy and excludes.

EXIT CODES:
0 : Success
1 : Missing AUR helper or critical failure

NOTE: This script is idempotent. Running it multiple times will refresh configurations without duplicating entries.