From 4c14074d04da366b8da345ae05056c2c6a38f3e4 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 20 Jun 2022 19:42:49 +0200 Subject: [PATCH] feat: enable commit signing --- home-mandlm.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home-mandlm.nix b/home-mandlm.nix index 140f75d..aea66f9 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -41,8 +41,6 @@ git = { enable = true; - userName = "Michael Mandl"; - userEmail = "mandlm@molez.net"; extraConfig = { user.private.name = "Michael Mandl"; user.private.email = "mandlm@molez.net"; @@ -64,7 +62,7 @@ }; aliases = { - identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :"; + identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; git config commit.gpgsign \"true\"; :"; }; };