diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-07 01:33:26 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-07 01:33:26 +0200 |
| commit | a2cbf737e78051c2cb10eeaf4a5dccc19d6348ba (patch) | |
| tree | f53ab92a0c94926e92117891eb87f19cafaa536c /profiles/core/git.nix | |
| parent | cfaef26e8718916adcc68fbfb63b15f2389b2cd2 (diff) | |
first working
Diffstat (limited to 'profiles/core/git.nix')
| -rw-r--r-- | profiles/core/git.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/profiles/core/git.nix b/profiles/core/git.nix new file mode 100644 index 0000000..84b165a --- /dev/null +++ b/profiles/core/git.nix @@ -0,0 +1,20 @@ +{config, ...}: { + hm = { + programs.git = { + enable = true; + userName = "Mike Vink"; + userEmail = "mike1994vink@gmail.com"; + extraConfig = { + worktree.guessRemote = true; + mergetool.fugitive.cmd = "vim -f -c \"Gdiff\" \"$MERGED\""; + merge.tool = "fugitive"; + }; + ignores = [ + "/.direnv/" + "/.envrc" + "/.env" + ".vimsession.vim" + ]; + }; + }; +} |
