gh: fix protocol setting (#1831)

* gh: fix protocol setting

* gh: fix test
This commit is contained in:
Phillip Cloud
2021-02-27 15:42:56 -05:00
committed by GitHub
parent fb9bf032fb
commit 3327cbe1f9
2 changed files with 5 additions and 3 deletions

View File

@@ -47,7 +47,9 @@ in {
config = mkIf cfg.enable {
home.packages = [ pkgs.gh ];
xdg.configFile."gh/config.yml".text =
builtins.toJSON { inherit (cfg) aliases editor gitProtocol; };
xdg.configFile."gh/config.yml".text = builtins.toJSON {
inherit (cfg) aliases editor;
git_protocol = cfg.gitProtocol;
};
};
}