From 9f800cefb1f2f98178a0ef664c1dd3277fe47a7f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 26 Oct 2023 11:13:27 +0200 Subject: enable gpg sign git commits --- nixpkgs/common.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'nixpkgs') diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index e42e35f..98a17ba 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -35,10 +35,14 @@ ]; }; - programs.git.enable = true; - programs.git.userName = "Alex Auvolat"; - programs.git.userEmail = "alex@adnab.me"; - programs.git.lfs.enable = true; + programs.git = { + enable = true; + lfs.enable = true; + userName = "Alex Auvolat"; + userEmail = "alex@adnab.me"; + signing.key = "0E496D15096376BE"; + signing.signByDefault = true; + }; home.file = { ".vim/coc-settings.json".source = ../vim/coc-settings.json; -- cgit v1.2.3