about summary refs log tree commit diff stats
path: root/home-manager/config/git/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-30 21:25:58 +0200
committerSoispha <soispha@vhack.eu>2023-07-30 21:25:58 +0200
commit5f6576ab04ea98393739b93b9d992062d98ecdc2 (patch)
treebbb4f9ab79b1cedd86a4269314c4abd48fc2ea77 /home-manager/config/git/default.nix
parentFix(hm/conf/gpg): Remove mutability (diff)
downloadnixos-config-5f6576ab04ea98393739b93b9d992062d98ecdc2.tar.gz
nixos-config-5f6576ab04ea98393739b93b9d992062d98ecdc2.zip
Fix(hm/conf/git): Also sign pushes, if the server supports this
Diffstat (limited to '')
-rw-r--r--home-manager/config/git/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix
index d0d5905c..5dfdd503 100644
--- a/home-manager/config/git/default.nix
+++ b/home-manager/config/git/default.nix
@@ -49,6 +49,9 @@ in {
       help = {
         autocorrect = 5;
       };
+      push = {
+        gpgSign = "if-asked";
+      };
       commit = {
         template = "${gitTemplateFile}";
       };