[nix] Add some more git configuration

This commit is contained in:
Alyxia Sother 2023-06-12 12:24:26 +02:00
parent 4890ae1737
commit 9862870669
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4

View file

@ -1,4 +1,4 @@
{ pkgs, dotfiles, ... }:
{ pkgs, ... }:
{
programs.git = {
@ -7,13 +7,24 @@
userName = "Alyxia Sother";
userEmail = "alyxia@riseup.net";
signing = {
key = "01E16C4E775A37E4";
signByDefault = true;
};
delta.enable = true;
delta = {
enable = true;
options = {
line-numbers = true;
features = "decorations";
syntax-theme = "ansi";
};
};
extraConfig = {
tag.gpgsign = true;
init.defaultBranch = "master";
};
};
programs.gitui.enable = true;