/ modules / home / programs / gh.nix
gh.nix
 1  {
 2    programs = {
 3      gh = {
 4        enable = true;
 5        settings = {
 6          git_protocol = "https";
 7          # aliases = {
 8          #  co = "pr checkout";
 9          #  pv = "pr view";
10          # };
11          # editor = ""
12        };
13        # hosts = {
14        #   "github.com" = {
15        #     user = "MFarabi619";
16        #   };
17        # };
18    #     gitCredentialHelper = {
19    #      enable = true;
20    #      hosts = [
21    #        "https://github.com"
22    # "https://gist.github.com"
23    #      ];
24    #     };
25        # extensions = with pkgs; [];
26      };
27      gh-dash = {
28        enable = true;
29        # settings = {};
30      };
31    };
32  }