diff --git a/modules/cli/git.nix b/modules/cli/git.nix index 8fc757a..d462896 100644 --- a/modules/cli/git.nix +++ b/modules/cli/git.nix @@ -38,26 +38,24 @@ in { programs.git = { inherit (cfg) enable userName userEmail; extraConfig = { - contents = { - core = { - editor = cfg.editor; - pager = "${pkgs.delta}/bin/delta"; - }; - init.defaultBranch = cfg.defaultBranch; - push.autoSetupRemote = true; - commit = { - verbose = true; - gpgSign = true; - }; - gpg.format = "ssh"; - user.signingKey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXD1EM4mQz99vJhmZX1r7kwMd8yewogOuoTUuv1xWZB"; - merge.conflictstyle = "zdiff3"; - interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only"; - diff.algorithm = "histogram"; - transfer.fsckobjects = true; - fetch.fsckobjects = true; - receive.fsckobjects = true; + core = { + editor = cfg.editor; + pager = "${pkgs.delta}/bin/delta"; }; + init.defaultBranch = cfg.defaultBranch; + push.autoSetupRemote = true; + commit = { + verbose = true; + gpgsign = true; + }; + gpg.format = "ssh"; + user.signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXD1EM4mQz99vJhmZX1r7kwMd8yewogOuoTUuv1xWZB"; + merge.conflictstyle = "zdiff3"; + interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only"; + diff.algorithm = "histogram"; + transfer.fsckobjects = true; + fetch.fsckobjects = true; + receive.fsckobjects = true; }; }; };