about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/cli/git.nix4
-rw-r--r--users/fcuny/desktop/trust/pgp.nix3
2 files changed, 7 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";
diff --git a/users/fcuny/desktop/trust/pgp.nix b/users/fcuny/desktop/trust/pgp.nix
index 0d59837..79ed7dd 100644
--- a/users/fcuny/desktop/trust/pgp.nix
+++ b/users/fcuny/desktop/trust/pgp.nix
@@ -9,6 +9,9 @@
 
   programs.gpg = {
     enable = true;
+    settings = {
+      default-key = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1";
+    };
   };
 }