Files
nix/home/modules/git/github.nix
T
2026-09-27 20:59:21 +02:00

17 lines
223 B
Nix

{
config,
lib,
...
}:
let
cfg = config.git.github;
in
{
options.git.github.enable = lib.mkEnableOption "Github CLI";
config = lib.mkIf (config.git.enable && cfg.enable) {
programs.gh.enable = true;
};
}