(lazygit) add option package

This commit is contained in:
Ching Pei Yang 2023-04-27 12:52:34 +02:00
commit 2018cd7b2f
2 changed files with 17 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{
pkgs,
config,
lib,
...
@ -24,6 +25,11 @@ with builtins; {
default = "float";
description = "Direction of the lazygit window";
};
package = mkOption {
type = with types; nullOr package;
default = pkgs.lazygit;
description = "The package to use for lazygit, null means do not install automatically";
};
};
};
}