about summary refs log tree commit diff
path: root/users/fcuny/cli
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 13:17:13 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 13:17:13 -0800
commit7f9c9bebd9843d3bcd70ffb492f83a924c2734c9 (patch)
tree42a6b2c537a9f7433870a075d47fe8945ed4af39 /users/fcuny/cli
parenti3: delete and let's switch over to sway/wayland (diff)
downloadworld-7f9c9bebd9843d3bcd70ffb492f83a924c2734c9.tar.gz
gpg: set default key
And use the default key for signing with git.
Diffstat (limited to 'users/fcuny/cli')
-rw-r--r--users/fcuny/cli/git.nix4
1 files changed, 4 insertions, 0 deletions
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";