refactor(git): move module options to 'default.nix'

This commit is contained in:
2026-09-27 23:31:00 +02:00
parent f530dfea50
commit e0ff23879f
4 changed files with 19 additions and 22 deletions
+2 -7
View File
@@ -5,13 +5,8 @@
...
}:
let
cfg = config.git.gitlab;
in
{
options.git.gitlab.enable = lib.mkEnableOption "Gitlab CLI";
config = lib.mkIf (config.git.enable && cfg.enable) {
home.packages = [ pkgs.glab ];
config = lib.mkIf (config.git.enable && config.git.gitlab.enable) {
home.packages = with pkgs; [ glab ];
};
}