home/git: set up custom editor for commits
This commit is contained in:
parent
d817f44c70
commit
fb8d75e754
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, meta, pkgs, ... }:
|
{ inputs, lib, meta, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
@ -30,6 +30,7 @@
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
core.editor = "${inputs.self.packages.${pkgs.system}.sonnyp-commit}/bin/re.sonny.Commit";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue