Select the types of activity you want to include in your feed.
Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature.
gitlab.com/andreijiroh-dev/dotfiles
···11-#!/usr/bin/env sh
22-33-# SPDX-License-Identifier: MIT AND MPL-2.0
44-#
55-# This is POSIX sh-compartible shell script to sourced for both shortcuts
66-# to daily commands I use and then some.
77-#
88-# PLEASE DO NOT LEAK ANY SECRETS, INCLUDING DOPPLER CLI TOKENS AND TAILSCALE_AUTHKEYS
99-# IN THIS BLOODY FILE!
1010-#
1111-11+# TODO: Hook things up with dotenvx later.
122# https://packaging.ubuntu.com/html/getting-set-up.html#configure-your-shell
1313-export DEBFULLNAME="Andrei Jiroh Halili"
1414-# Temporary Gmail address for devel stuff, even through my longer email one is, well,
1515-# on my public GPG key btw, so YOLO it.
1616-export DEBEMAIL="releases@andreijiroh.eu.org"
1717-1818-# Customized PATH + Jetbrains Toolbox
1919-export PATH="$HOME/go/bin:$HOME/.local/bin:$GOPATH/bin:$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
2020-33+DEBFULLNAME="Andrei Jiroh Halili"
44+DEBEMAIL="releases@andreijiroh.xyz"
215# Hardcode timezone to PHT unless otherwise specified in ~/.env.local.
226# You might need tzdata installed on Alpine per https://wiki.alpinelinux.org/wiki/Setting_the_timezone
2323-export TZ=Asia/Manila
2424-2525-##########################################################################################
2626-# Code snippets from https://git.sr.ht/~sircmpwn/dotfiles/tree/db5945a4/item/.env
2727-##########################################################################################
2828-if ls --version 2>&1 | grep -i gnu >/dev/null
2929-then
3030- alias ls='ls --color=auto '
3131-elif ls --version 2>&1 | grep -i busybox >/dev/null
3232-then
3333- alias ls='ls --color=auto '
3434-fi
3535-3636-alias recent='ls -ltch'
77+TZ=Asia/Manila
3783838-# Add optmizations for multicore builds
3939-if [ $(uname) = "Linux" ]
4040-then
4141- nproc=$(grep '^processor' /proc/cpuinfo | wc -l)
4242- if [ $nproc -gt 4 ]
4343- then
4444- # Reserve two cores
4545- nproc=$((nproc - 2))
4646- fi
4747- export MAKEFLAGS="-j$nproc"
4848- export SAMUFLAGS="-j$nproc"
4949-fi
5050-##########################################################################################
5151-5252-# import aliases to shell too
5353-. "$HOME/.config/bash/aliases"
99+export DEBFULLNAME DEBMAIL
+14-10
.nanorc
···11-# User-wide nanorc based on my system-wide configs for stellapent-cier.tailnet
22-# to make things portable as needed.
11+# This is my user-wide settings for nano, similar to VS Code and friends.
22+# Feel free to use it on your own, as long as you keep the copyright information
33+# below intact.
44+# SPDX-License-Identifier: MIT AND MPL-2.0 (excluding third party code)
3546# Display line numbers to the left (and any anchors in the margin).
57set linenumbers
···1921## mouse clicks can be used to place the cursor, set the mark (with a
2022## double click), and execute shortcuts. The mouse will work in the
2123## X Window System, and on the console when gpm is running.
2222-set mouse
2424+#set mouse
23252426# Switch on multiple file buffers (inserting a file will put it into a
2527# separate buffer).
···3840set tabstospaces
39414042## Snip whitespace at the end of lines when justifying or hard-wrapping.
4141-# set trimblanks
4343+set trimblanks
42444345# import included syntax highlighting for nano
4646+# TODO: Load them via ~/.local/share/nano for portability
4447include "/usr/share/nano/*.nanorc"
45484649# Make regularly-used features have more usual shortcuts
5050+bind M-Z suspend main
4751bind ^X cut main
4852bind ^C copy main
4953bind ^V paste all
···5256#bind ^W writeout main
5357#bind ^O insert main
5458#set multibuffer
5555-#bind ^H help all
5656-#bind ^H exit help
5959+bind ^H help all
6060+bind ^H exit help
5761#bind ^F whereis all
5862#bind ^G findnext all
5963#bind ^B wherewas all
6064#bind ^D findprevious all
6165#bind ^R replace main
6262-#unbind ^U all
6666+unbind ^U all
6367#unbind ^N main
6468#unbind ^Y all
6569#unbind M-J main
···6771bind ^A mark main
6872#bind ^P location main
6973bind ^T gotoline main
7070-#bind ^T gotodir browser
7474+bind ^T gotodir browser
7175#bind ^T cutrestoffile execute
7276#bind ^L linter execute
7373-#bind ^E execute main
7777+bind ^E execute main
7478#bind ^K "{mark}{end}{zap}" main
7579#bind ^U "{mark}{home}{zap}" main
7680bind ^Z undo main
7777-bind ^Y redo main8181+bind ^Y redo main
+28-9
.profile
···99# for ssh logins, install and configure the libpam-umask package.
1010#umask 022
11111212-# if running bash
1313-if [ -n "$BASH_VERSION" ]; then
1414- # include .bashrc if it exists
1515- if [ -f "$HOME/.bashrc" ]; then
1616- . "$HOME/.bashrc"
1717- fi
1818-fi
1919-2012# set PATH so it includes user's private bin if it exists
2113if [ -d "$HOME/bin" ] ; then
2214 PATH="$HOME/bin:$PATH"
···4032 . "$HOME/.config/localconfig.env"
4133fi
42343535+##########################################################################################
3636+# Code snippets from https://git.sr.ht/~sircmpwn/dotfiles/tree/db5945a4/item/.env
3737+##########################################################################################
3838+if ls --version 2>&1 | grep -i gnu >/dev/null
3939+then
4040+ alias ls='ls --color=auto '
4141+elif ls --version 2>&1 | grep -i busybox >/dev/null
4242+then
4343+ alias ls='ls --color=auto '
4444+fi
4545+4646+alias recent='ls -ltch'
4747+4848+# Add optmizations for multicore builds
4949+if [ $(uname) = "Linux" ]
5050+then
5151+ nproc=$(grep '^processor' /proc/cpuinfo | wc -l)
5252+ if [ $nproc -gt 4 ]
5353+ then
5454+ # Reserve two cores
5555+ nproc=$((nproc - 2))
5656+ fi
5757+ export MAKEFLAGS="-j$nproc"
5858+ export SAMUFLAGS="-j$nproc"
5959+fi
6060+##########################################################################################
6161+4362if [[ $FF_BYOBU_ON_LOGIN != "" ]]; then
4444-fi6363+fi
+3-3
meta-info.toml
···11fullname = "Andrei Jiroh Halili"
22-gemini = "gemini.andreijiroh.eu.org"
33-website = "https://andreijiroh.eu.org"
22+gemini = "gemini.andreijiroh.xyz"
33+website = "https://andreijiroh.xyz"
44description = "Open-source maintainer and web dev at Recap Time Squad, sometimes NixOS + Alpine Linux user, #ActuallyAutistic"
55-email = "ajhalili2006@andreijiroh.eu.org"
55+email = "ajhalili2006@andreijiroh.xyz"
66matrix = "@ajhalili2006:envs.net"
77fediverse = "tilde.zone/@ajhalili2006"
88location = "Marilao, Bulacan, Philippines"