aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/lazygit
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/lazygit')
-rw-r--r--modules/development/lazygit/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix
index 223392a..b75ebeb 100644
--- a/modules/development/lazygit/default.nix
+++ b/modules/development/lazygit/default.nix
@@ -6,6 +6,12 @@
];
options.development.lazygit = {
enable = lib.mkEnableOption "Enables lazygit.";
+ package = lib.mkOption {
+ type = lib.types.package;
+ readOnly = true;
+ default = config.programs.lazygit.package;
+ description = "The lazygit package to use.";
+ };
};
config = {
programs.lazygit = lib.mkIf config.development.lazygit.enable {