refactor: namespace git cli options under git module

This commit is contained in:
2026-03-11 21:16:38 +01:00
parent 83cb9cdec1
commit 1ecb690f0d
4 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
}:
{
options = {
options.git = {
github.enable = lib.mkEnableOption "Github CLI";
gitlab.enable = lib.mkEnableOption "Gitlab CLI";
};
@@ -20,7 +20,7 @@
".gitignore".source = dotsPath + "/.gitignore";
};
programs.gh.enable = config.github.enable;
home.packages = lib.optionals config.gitlab.enable [ pkgs.glab ];
programs.gh.enable = config.git.github.enable;
home.packages = lib.optionals config.git.gitlab.enable [ pkgs.glab ];
};
}