summaryrefslogtreecommitdiff
path: root/profiles/core
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-10-18 11:59:38 +0000
committerMike Vink <ivi@vinkies.net>2024-10-18 11:59:38 +0000
commitfd903650dec994425d8d17bda4cc2a1523851854 (patch)
tree96ec2326297729bda6b01038711b4cebdbd3fd8d /profiles/core
parent209da81aff39a5cb1a16986dc4fe3b24715943f6 (diff)
use my.email always
Diffstat (limited to 'profiles/core')
-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\"";