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
+1 -6
View File
@@ -4,13 +4,8 @@
...
}:
let
cfg = config.git.github;
in
{
options.git.github.enable = lib.mkEnableOption "Github CLI";
config = lib.mkIf (config.git.enable && cfg.enable) {
config = lib.mkIf (config.git.enable && config.git.github.enable) {
programs.gh.enable = true;
};
}