various improvements
This commit is contained in:
parent
5e1a70ca49
commit
8de5c50daa
14 changed files with 185 additions and 167 deletions
24
modules/home/apps/tools/gh/default.nix
Normal file
24
modules/home/apps/tools/gh/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue