various improvements

This commit is contained in:
zackartz 2024-05-27 03:11:41 -04:00
parent 5e1a70ca49
commit 8de5c50daa
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
14 changed files with 185 additions and 167 deletions

View file

@ -0,0 +1,24 @@
{
lib,
config,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.tools.gh;
in {
options.apps.tools.gh = with types; {
enable = mkBoolOpt false "Enable GitHub CLI";
};
config = mkIf cfg.enable {
programs.gh = {
enable = true;
extensions = with pkgs; [
pkgs.gh-dash
];
};
};
}