diff options
author | Alex Auvolat <alex@adnab.me> | 2023-10-26 11:13:27 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-10-26 11:13:27 +0200 |
commit | 9f800cefb1f2f98178a0ef664c1dd3277fe47a7f (patch) | |
tree | 8aef28a61c48890672b25bace68dc5e0203017cd | |
parent | ff1c560eea992aa135f9d3eb8b3118db65ec508a (diff) | |
download | user-config-9f800cefb1f2f98178a0ef664c1dd3277fe47a7f.tar.gz user-config-9f800cefb1f2f98178a0ef664c1dd3277fe47a7f.zip |
enable gpg sign git commits
-rw-r--r-- | nixpkgs/common.nix | 12 |
1 files changed, 8 insertions, 4 deletions
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; |