summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-26 11:13:27 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-26 11:13:27 +0200
commit9f800cefb1f2f98178a0ef664c1dd3277fe47a7f (patch)
tree8aef28a61c48890672b25bace68dc5e0203017cd /nixpkgs
parentff1c560eea992aa135f9d3eb8b3118db65ec508a (diff)
downloaduser-config-9f800cefb1f2f98178a0ef664c1dd3277fe47a7f.tar.gz
user-config-9f800cefb1f2f98178a0ef664c1dd3277fe47a7f.zip
enable gpg sign git commits
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/common.nix12
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;