marleyos/modules/home/programs/gh/default.nix

25 lines
366 B
Nix

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