From 23a4ad67250b78895a95519bedaa1c8efe962a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 22 Feb 2026 13:07:32 -0300 Subject: [PATCH] switch: reduce noise --- switch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/switch b/switch index bff47b1..e9214f1 100755 --- a/switch +++ b/switch @@ -2,25 +2,26 @@ set -euo pipefail -nix fmt +nix fmt --option warn-dirty false # Allow usage of untracked files in nix code git add --intent-to-add . +# I only use warn-dirty=false because of this git --no-pager diff run() { nixos-rebuild \ switch \ --sudo \ + --option warn-dirty false \ --print-build-logs \ --flake .# \ "$@" } if which nom >/dev/null; then - run --verbose \ - --log-format internal-json \ + run --log-format internal-json \ "$@" \ |& nom --json else