feat(home): Gh

This commit is contained in:
punkfairie 2024-11-16 15:27:19 -08:00
parent 45ce61172e
commit 4da2995cee
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 27 additions and 11 deletions

View file

@ -24,6 +24,7 @@ in
figlet = enabled;
fish = enabled;
fzf = enabled;
gh = enabled;
journalctl = enabled;
neo = enabled;
systemctl = enabled;

View file

@ -0,0 +1,26 @@
{
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;
};
};
}

View file

@ -1,11 +0,0 @@
{ ... }:
{
programs.gh = {
enable = true;
gitCredentialHelper.enable = true;
};
programs.gh-dash = {
enable = true;
};
}