{ pkgs, lib, config, ... }: { options.mods.terminal.gh.enable = lib.mkEnableOption "enables gh and gh-dash"; config = lib.mkIf config.mods.terminal.gh.enable { programs.gh = { enable = true; extensions = [pkgs.gh-dash]; }; programs.gh-dash = { enable = true; settings = { keybindings = { prs = [ { key = "C"; command = "nvim -c 'Octo pr edit {{.PrNumber}}'"; description = "Open PR in Octo.nvim"; } ]; }; }; }; }; }