summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/core/git.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/profiles/core/git.nix b/profiles/core/git.nix
index 44cadf7..871ac7d 100644
--- a/profiles/core/git.nix
+++ b/profiles/core/git.nix
@@ -1,10 +1,14 @@
-{config,lib, ...}: with lib;
{
+ config,
+ lib,
+ ...
+}:
+with lib; {
hm = {
programs.git = {
enable = true;
userName = my.realName;
- userEmail = if config.networking.hostName == "work" then "mike@pionative.com" else my.email;
+ userEmail = my.email;
extraConfig = {
worktree.guessRemote = true;
mergetool.fugitive.cmd = "vim -f -c \"Gdiff\" \"$MERGED\"";