From eb56a36027f02539be532419fa193d4d7e9c57c4 Mon Sep 17 00:00:00 2001 From: traxys Date: Wed, 31 Jan 2024 14:06:39 +0100 Subject: [PATCH] thinkpad-nixos: Use correct git info for personal projects --- hostconfig/thinkpad-nixos/hm.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hostconfig/thinkpad-nixos/hm.nix b/hostconfig/thinkpad-nixos/hm.nix index 6884aeb..75a9ab6 100644 --- a/hostconfig/thinkpad-nixos/hm.nix +++ b/hostconfig/thinkpad-nixos/hm.nix @@ -55,6 +55,17 @@ in { programs.git = { userName = "Quentin Boyer"; userEmail = config.workAddr; + includes = [ + { + condition = "gitdir:~/Perso/"; + contents = { + user = { + email = "quentin@familleboyer.net"; + name = "traxys"; + }; + }; + } + ]; }; home.sessionVariables = {