From 7f9c9bebd9843d3bcd70ffb492f83a924c2734c9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 13:17:13 -0800 Subject: gpg: set default key And use the default key for signing with git. --- users/fcuny/cli/git.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users/fcuny/cli') diff --git a/users/fcuny/cli/git.nix b/users/fcuny/cli/git.nix index d27d7a0..427060f 100644 --- a/users/fcuny/cli/git.nix +++ b/users/fcuny/cli/git.nix @@ -15,6 +15,10 @@ }; userName = "Franck Cuny"; userEmail = "franck@fcuny.net"; + signing = { + key = config.programs.gpg.settings.default-key; + signByDefault = true; + }; extraConfig = { "credential \"https://github.com\"" = { username = "fcuny"; -- cgit 1.4.1