aboutsummaryrefslogtreecommitdiff
path: root/homes/floppydisk
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-04-26 23:55:50 +0100
committerFrankie B <git@diskfloppy.me>2023-04-26 23:56:40 +0100
commit7686391441971a2e696fd0a4682cb4143206ae8e (patch)
treec9c8d4eb6a64730e039a8ffe25ce4570fdb2de6b /homes/floppydisk
parent2313b99da5d6890bd9990036ed596166a08c1e15 (diff)
Enable GPG signing for git on nixbox
Diffstat (limited to 'homes/floppydisk')
-rw-r--r--homes/floppydisk/default.nix5
1 files changed, 5 insertions, 0 deletions
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;
+ };
};
};