mirror of
https://github.com/nix-community/home-manager
synced 2024-06-02 13:03:33 +02:00
git: install delta when it's enabled (#1866)
This commit is contained in:
parent
f9b5172d95
commit
f30b62a74d
|
@ -354,6 +354,8 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf cfg.delta.enable {
|
(mkIf cfg.delta.enable {
|
||||||
|
home.packages = [ pkgs.delta ];
|
||||||
|
|
||||||
programs.git.iniContent = let deltaCommand = "${pkgs.delta}/bin/delta";
|
programs.git.iniContent = let deltaCommand = "${pkgs.delta}/bin/delta";
|
||||||
in {
|
in {
|
||||||
core.pager = deltaCommand;
|
core.pager = deltaCommand;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user