From 910670ba0b23eb8fa79174f0dc924f35d1796a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 1 Sep 2025 01:08:38 -0300 Subject: [PATCH] flake: use intent-to-add --- switch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/switch b/switch index d341e87..32bc217 100755 --- a/switch +++ b/switch @@ -4,6 +4,9 @@ set -euo pipefail nix fmt +# Allow usage of untracked files in nix code +git add --intent-to-add . + git --no-pager diff run() {