diff options
Diffstat (limited to 'modules/home-manager')
| -rw-r--r-- | modules/home-manager/default.nix | 1 | ||||
| -rw-r--r-- | modules/home-manager/dev.nix | 2 | ||||
| -rw-r--r-- | modules/home-manager/gh.nix | 10 |
3 files changed, 13 insertions, 0 deletions
diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 48050a4..9293d1a 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -3,6 +3,7 @@ { imports = [ ./git.nix + ./gh.nix ./zsh.nix ./tmux.nix ./neovim/default.nix diff --git a/modules/home-manager/dev.nix b/modules/home-manager/dev.nix index b148ad7..3692580 100644 --- a/modules/home-manager/dev.nix +++ b/modules/home-manager/dev.nix @@ -11,6 +11,7 @@ config = lib.mkIf config.dev.enable { zsh.enable = true; git.enable = true; + gh.enable = true; neovim.enable = true; tmux.enable = true; gpg.enable = true; @@ -21,6 +22,7 @@ fzf ffmpeg imagemagick + gh gcc maven diff --git a/modules/home-manager/gh.nix b/modules/home-manager/gh.nix new file mode 100644 index 0000000..0b0ad6b --- /dev/null +++ b/modules/home-manager/gh.nix @@ -0,0 +1,10 @@ +{ config, lib, ... }: + +{ + options.gh.enable = lib.mkEnableOption "Setup gh"; + config = lib.mkIf config.gh.enable { + programs.gh = { + enable = true; + }; + }; +} |
