tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
feat: use tangled as origin when using tangled
dunkirk.sh
1 day ago
bf979fb3
dd6e4cdf
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+6
-2
1 changed file
expand all
collapse all
unified
split
modules
home
system
shell.nix
+6
-2
modules/home/system/shell.nix
···
727
727
fi
728
728
fi
729
729
730
730
-
# Set default push remote
731
731
-
${pkgs.git}/bin/git config branch.$BRANCH.remote origin 2>/dev/null || true
730
730
+
# Set default push remote (origin→knot when tangled, github when github-only)
731
731
+
if [[ "$TANGLED" == true ]]; then
732
732
+
${pkgs.git}/bin/git config branch.$BRANCH.remote origin 2>/dev/null || true
733
733
+
elif [[ "$GITHUB" == true ]]; then
734
734
+
${pkgs.git}/bin/git config branch.$BRANCH.remote github 2>/dev/null || true
735
735
+
fi
732
736
733
737
echo
734
738
${pkgs.gum}/bin/gum style --foreground 117 "Configured remotes:"