diff --git a/arch/stow/_scripts/git-flake b/arch/stow/_scripts/git-flake new file mode 100755 index 0000000..e6df509 --- /dev/null +++ b/arch/stow/_scripts/git-flake @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Ignore flake.nix and flake.lock +# For using personal flakes in a project that does not provide and want flakes. +# Syntaxis: git flake + +git add --intent-to-add flake.nix flake.lock +git update-index --assume-unchanged flake.nix