diff options
Diffstat (limited to 'home-manager/config/git')
-rw-r--r-- | home-manager/config/git/default.nix | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix index c01738e0..5f5ce100 100644 --- a/home-manager/config/git/default.nix +++ b/home-manager/config/git/default.nix @@ -1,22 +1,4 @@ {...}: let - gitConfig = { - core = { - excludesFile = "${gitIgnoreFile}"; - }; - init = { - defaultBranch = "prime"; - }; - user = { - email = "soispha@vhack.eu"; - name = "Soispha"; - }; - help = { - autocorrect = 5; - }; - commit = { - template = "${gitTemplateFile}"; - }; - }; gitIgnoreFile = ./git_ignore.git; gitTemplateFile = ./git_template.git; in { @@ -49,7 +31,24 @@ in { '' %C(white)%s%C(reset)%n'' \ %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'"; }; - extraConfig = gitConfig; + extraConfig = { + core = { + excludesFile = "${gitIgnoreFile}"; + }; + init = { + defaultBranch = "prime"; + }; + user = { + email = "soispha@vhack.eu"; + name = "Soispha"; + }; + help = { + autocorrect = 5; + }; + commit = { + template = "${gitTemplateFile}"; + }; + }; delta = { enable = true; options = { |