diff options
-rw-r--r-- | home-manager/config/git/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix index 7e5f44ac..12fdaf09 100644 --- a/home-manager/config/git/default.nix +++ b/home-manager/config/git/default.nix @@ -3,6 +3,9 @@ pkgs, ... }: let + gitIgnoreFile = pkgs.writeText "git_ignore.git" '' + Session.vim + ''; gitTemplateFile = pkgs.writeText "git_template.git" '' @@ -72,6 +75,9 @@ ''; gitConfig = { + core = { + excludesFile = "${gitIgnoreFile}"; + }; init = { defaultBranch = "prime"; }; |