From 98628706692ebf4f3b5478bd180f3797583069b4 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Mon, 12 Jun 2023 12:24:26 +0200 Subject: [PATCH] [nix] Add some more git configuration --- nix/hosts/alymac/git.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/nix/hosts/alymac/git.nix b/nix/hosts/alymac/git.nix index 76f662c..d7b2afa 100644 --- a/nix/hosts/alymac/git.nix +++ b/nix/hosts/alymac/git.nix @@ -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;