From eea593d960f5b82bcb14282822e99986c89c250b Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 1 Aug 2025 11:51:17 +0200 Subject: feat: add github cli --- modules/home-manager/default.nix | 1 + modules/home-manager/dev.nix | 2 ++ modules/home-manager/gh.nix | 10 ++++++++++ 3 files changed, 13 insertions(+) create mode 100644 modules/home-manager/gh.nix (limited to 'modules') 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; + }; + }; +} -- cgit v1.3.1