From ee2c46f61628af85fa18b5dc2e1451a4627782ba Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 15 Mar 2023 14:05:34 +0100 Subject: [PATCH] Automatically exclude some stuff from git index --- home/common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/common.nix b/home/common.nix index 63eb078..6638203 100644 --- a/home/common.nix +++ b/home/common.nix @@ -126,6 +126,11 @@ userName = "Natsu Kagami"; extraConfig = { init.defaultBranch = "master"; + core.excludesFile = "${pkgs.writeText ".gitignore" '' + .direnv + .envrc + .kakrc + ''}"; }; };