home/git: set up custom editor for commits

This commit is contained in:
Max Headroom 2023-03-04 09:14:31 +01:00
parent d817f44c70
commit fb8d75e754

View file

@ -1,4 +1,4 @@
{ lib, meta, pkgs, ... }:
{ inputs, lib, meta, pkgs, ... }:
{
programs.git = {
@ -30,6 +30,7 @@
init.defaultBranch = "master";
pull.rebase = true;
push.autoSetupRemote = true;
core.editor = "${inputs.self.packages.${pkgs.system}.sonnyp-commit}/bin/re.sonny.Commit";
};
};
}