Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(yadm): remove abuild keys for a while for encrypted backups

Also add more SSH keys behind the scenes

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>

+63 -8
+52 -1
.bash_login
··· 20 20 . "$HOME/.config/localconfig.env" 21 21 fi 22 22 23 - # # shellcheck source=./.bashrc 23 + # Load bash 24 + # shellcheck source=./.bashrc 24 25 source ./.bashrc 26 + 27 + # set PATH so it includes user's private bin if it exists 28 + if [ -d "$HOME/bin" ] ; then 29 + PATH="$HOME/bin:$PATH" 30 + fi 31 + 32 + # set PATH so it includes user's private bin if it exists 33 + if [ -d "$HOME/.local/bin" ] ; then 34 + PATH="$HOME/.local/bin:$PATH" 35 + fi 36 + 37 + export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more 38 + mesg n 2> /dev/null || true 39 + 40 + # then import the rest 41 + source "$HOME/.env" 42 + source "$HOME/.config/aliases" 43 + export POSIX_PROFILE_SOURCED=true 44 + 45 + # how about detecting local configs 46 + if [ -f "$HOME/.config/localconfig.env" ]; then 47 + . "$HOME/.config/localconfig.env" 48 + fi 49 + 50 + ########################################################################################## 51 + # Code snippets from https://git.sr.ht/~sircmpwn/dotfiles/tree/db5945a4/item/.env 52 + ########################################################################################## 53 + if ls --version 2>&1 | grep -i gnu >/dev/null 54 + then 55 + alias ls='ls --color=auto ' 56 + elif ls --version 2>&1 | grep -i busybox >/dev/null 57 + then 58 + alias ls='ls --color=auto ' 59 + fi 60 + 61 + alias recent='ls -ltch' 62 + 63 + # Add optmizations for multicore builds 64 + if [ $(uname) = "Linux" ] 65 + then 66 + nproc=$(grep '^processor' /proc/cpuinfo | wc -l) 67 + if [ $nproc -gt 4 ] 68 + then 69 + # Reserve two cores 70 + nproc=$((nproc - 2)) 71 + fi 72 + export MAKEFLAGS="-j$nproc" 73 + export SAMUFLAGS="-j$nproc" 74 + fi 75 + ##########################################################################################
+3 -4
.config/yadm/encrypt
··· 1 - .abuild/releases@andreijiroh.eu.org.rsa 2 - .abuild/releases@recaptime.eu.org.rsa 3 - .abuild/ci-builder-ajhalili2006@infra.recaptime.eu.org.rsa.pub 4 1 .config/gh/hosts.yml 5 2 .config/glab-cli/config.yml 6 - .ssh/personal-2023 3 + .ssh/personal-2023 4 + .ssh/google_compute_engine 5 + .ssh/launchpad
+8 -3
.profile
··· 9 9 # for ssh logins, install and configure the libpam-umask package. 10 10 #umask 022 11 11 12 + # if running bash (probably as seen in Debian) 13 + if [ -n "$BASH_VERSION" ]; then 14 + # include .bashrc if it exists 15 + if [ -f "$HOME/.bashrc" ]; then 16 + . "$HOME/.bashrc" 17 + fi 18 + fi 19 + 12 20 # set PATH so it includes user's private bin if it exists 13 21 if [ -d "$HOME/bin" ] ; then 14 22 PATH="$HOME/bin:$PATH" ··· 58 66 export SAMUFLAGS="-j$nproc" 59 67 fi 60 68 ########################################################################################## 61 - 62 - if [[ $FF_BYOBU_ON_LOGIN != "" ]]; then 63 - fi