From 9c23d9b8b7c962fa70a4ae1ecabb4914f5038e61 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 1 Jan 2022 01:06:30 +0100 Subject: [PATCH] Add WDW git config --- config/git/config-work-wdw | 3 +++ programs/git.nix | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 config/git/config-work-wdw diff --git a/config/git/config-work-wdw b/config/git/config-work-wdw new file mode 100644 index 0000000..dd8c648 --- /dev/null +++ b/config/git/config-work-wdw @@ -0,0 +1,3 @@ +[user] + email = "d.kempkens@wdw-consulting.com" + name = "Daniel Kempkens" diff --git a/programs/git.nix b/programs/git.nix index 80a255c..bbc5c7e 100644 --- a/programs/git.nix +++ b/programs/git.nix @@ -2,6 +2,7 @@ let config-work-nedeco = "${config.xdg.configHome}/git/config-work-nedeco"; + config-work-wdw = "${config.xdg.configHome}/git/config-work-wdw"; in { programs.git = { @@ -60,6 +61,11 @@ in path = "${config-work-nedeco}"; condition = "gitdir:~/Code/Work/"; } + + { + path = "${config-work-wdw}"; + condition = "gitdir:~/Code/Work/WDW/"; + } ]; delta.options = { @@ -68,4 +74,5 @@ in }; home.file."${config-work-nedeco}".source = ../config/git/config-work-nedeco; + home.file."${config-work-wdw}".source = ../config/git/config-work-wdw; }