1
0
Fork 0
nix-config/modules/home/cli-apps/lazygit/default.nix

23 lines
347 B
Nix

{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.cli-apps.lazygit;
in
{
options.${namespace}.cli-apps.lazygit = with types; {
enable = mkBoolOpt false "Whether or not to enable lazygit.";
};
config = mkIf cfg.enable {
programs.lazygit = {
enable = true;
};
};
}