minion@greylag: Add git emails for specific places

This change was prompted by frappix, which needs the git email to be
configured to do its own clones, making the previous aliases ineffective

I still intend to keep the previous aliases, as they are useful for
things which I am cloning outside of these directories, for example
random projects where I want to make drive-by contributions

Change-Id: I43a53d31af85fa62631fc25ee0da13f730703cf5
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/530
Reviewed-by: Skyler Grey <minion@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/homes/x86_64-linux/minion@greylag/default.nix b/homes/x86_64-linux/minion@greylag/default.nix
index d2233fb..710c985 100644
--- a/homes/x86_64-linux/minion@greylag/default.nix
+++ b/homes/x86_64-linux/minion@greylag/default.nix
@@ -23,6 +23,21 @@
     greylag
   '';
 
+  programs.git.includes = [
+    {
+      condition = "gitdir:~/Code/clicks/";
+      contents.user.email = "minion@clicks.codes";
+    }
+    {
+      condition = "gitdir:~/Code/personal/";
+      contents.user.email = "skyler3665@gmail.com";
+    }
+    {
+      condition = "gitdir:~/Code/collabora/";
+      contents.user.email = "skyler.grey@collabora.com";
+    }
+  ];
+
   programs.git.extraConfig.alias = {
     recommit = "!git commit --verbose -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG";
     graph = "log --graph --oneline --decorate";