From 66ba4acf0d5db33c23e70eb270bdc74e1a35df32 Mon Sep 17 00:00:00 2001 From: Jelle Spreeuwenberg Date: Fri, 24 Apr 2026 16:12:20 +0200 Subject: [PATCH] feat: update global gitignore --- modules/features/git.nix | 2 +- modules/hosts/zenith/default.nix | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/features/git.nix b/modules/features/git.nix index d436fb6..1df199c 100644 --- a/modules/features/git.nix +++ b/modules/features/git.nix @@ -14,7 +14,7 @@ signing.format = "ssh"; ignores = [ ".claude/" - ".codex/" + ".codex" ]; settings = { init.defaultBranch = "main"; diff --git a/modules/hosts/zenith/default.nix b/modules/hosts/zenith/default.nix index d90b317..d25efca 100644 --- a/modules/hosts/zenith/default.nix +++ b/modules/hosts/zenith/default.nix @@ -20,9 +20,17 @@ let { pkgs, ... }: { home.packages = [ - pkgs.rustup pkgs.usql ]; + + programs.git.ignores = [ + # Devenv stuff + "devenv.*" + ".devenv*" + ".direnv" + "pre-commit-config.yaml" + ".envrc" + ]; } ) ];