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+#!/bin/bash
22+33+# Save this file as ~/.config/yadm/bootstrap and make it executable. It will
44+# execute all executable files (excluding templates and editor backups) in the
55+# ~/.config/yadm/bootstrap.d directory when run.
66+77+# Source: https://raw.githubusercontent.com/TheLocehiliosan/yadm/master/contrib/bootstrap/bootstrap-in-dir
88+99+set -eu
1010+1111+# Directory to look for bootstrap executables in
1212+BOOTSTRAP_D="${BASH_SOURCE[0]}.d"
1313+1414+if [[ ! -d "$BOOTSTRAP_D" ]]; then
1515+ echo "Error: bootstrap directory '$BOOTSTRAP_D' not found" >&2
1616+ exit 1
1717+fi
1818+1919+find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
2020+ if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
2121+ if ! "$bootstrap"; then
2222+ echo "Error: bootstrap '$bootstrap' failed" >&2
2323+ exit 1
2424+ fi
2525+ fi
2626+done
+4
.config/yadm/bootstrap.d/00-post-clone-repo.sh
···11+#!/usr/bin/env sh
22+33+echo "Symlinking ~/.git to ~/.local/share/yadm/repo.git for compatibility"
44+ln -s ~/.local/share/yadm/repo.git ~/.git