[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
1 changed files with 14 additions and 3 deletions

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;