diff options
| author | schererleander <leander@schererleander.de> | 2025-08-01 11:51:17 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-08-01 11:51:17 +0200 |
| commit | eea593d960f5b82bcb14282822e99986c89c250b (patch) | |
| tree | e2c9bacc02d9b6ca856712f6805ab2324237f9ca /modules | |
| parent | bcc541f8f1be709d5de30593a7a5e37bd7663bf0 (diff) | |
feat: add github cli
Diffstat (limited to 'modules')
| -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; + }; + }; +} |
