From 228900cbb7f4cf1e47d863f6c0a4d31441ac59d4 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 26 Sep 2023 21:01:54 +0200 Subject: [PATCH] pinwheel: Add work config for `git` --- hosts/pinwheel/modules/git/default.nix | 4 ++++ hosts/pinwheel/modules/git/work-gitconfig | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 hosts/pinwheel/modules/git/work-gitconfig diff --git a/hosts/pinwheel/modules/git/default.nix b/hosts/pinwheel/modules/git/default.nix index 9e5206e..0d0b724 100644 --- a/hosts/pinwheel/modules/git/default.nix +++ b/hosts/pinwheel/modules/git/default.nix @@ -6,6 +6,10 @@ includes = [ { path = ./gitconfig; } + { + path = ./work-gitconfig; + condition = "gitdir:~/code/work/"; + } ]; }; }; diff --git a/hosts/pinwheel/modules/git/work-gitconfig b/hosts/pinwheel/modules/git/work-gitconfig new file mode 100644 index 0000000..0da30fb --- /dev/null +++ b/hosts/pinwheel/modules/git/work-gitconfig @@ -0,0 +1,3 @@ +[user] +name = Alexander Heldt +email = alexander.heldt@zebware.com \ No newline at end of file