From 7686391441971a2e696fd0a4682cb4143206ae8e Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 26 Apr 2023 23:55:50 +0100 Subject: [PATCH] Enable GPG signing for git on nixbox --- homes/floppydisk/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homes/floppydisk/default.nix b/homes/floppydisk/default.nix index 8920167..6095c61 100644 --- a/homes/floppydisk/default.nix +++ b/homes/floppydisk/default.nix @@ -47,6 +47,7 @@ enable = true; interactiveShellInit = '' set fish_greeting # Disable fish_greeting + export GPG_TTY=$(tty) ''; }; @@ -55,6 +56,10 @@ enable = true; userName = "Frankie B."; userEmail = "git@diskfloppy.me"; + signing = { + key = "B428A0D1B4E2BAB0"; + signByDefault = true; + }; }; };