From 12ad31cd04e8b3929098c1882bdb5669006d3287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 20 Mar 2022 11:07:43 +0000 Subject: [PATCH] Add work git signing settings --- nixos/boxes/form3/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/boxes/form3/default.nix b/nixos/boxes/form3/default.nix index e66a9109..7291953c 100644 --- a/nixos/boxes/form3/default.nix +++ b/nixos/boxes/form3/default.nix @@ -48,5 +48,14 @@ imports = [ ]; home.packages = [ ]; programs.git.userEmail = lib.mkForce "cyryl.plotnicki@form3.tech"; + programs.git.extraConfig.user.signingkey = + "6441B1BC81F8FB1561C9AFF5534222210FE423ED"; + programs.git.extraConfig.commit.gpgsign = true; + programs.gpg.enable = true; + programs.gpg.homedir = "/Users/cyryl/.gnupg"; + programs.zsh.shellAliases = { + gpg = "gpg2 --homedir /Users/cyryl/.gnupg"; + gpg2 = "gpg2 --homedir /Users/cyryl/.gnupg"; + }; }; }