marleyos/modules/home/programs/gh/default.nix
2024-11-16 19:38:19 -08:00

26 lines
381 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.gh;
in
{
options = mkEnableModule "programs.gh";
config = mkIf cfg.enable {
programs.gh = {
enable = true;
gitCredentialHelper.enable = true;
};
programs.gh-dash = {
enable = true;
};
};
}