nix-config/home-manager/_mixins/cli/gh.nix
2024-05-02 21:36:17 -04:00

14 lines
294 B
Nix

{ pkgs, username, ... }:
{
programs.gh = {
enable = true;
extensions = with pkgs; [ gh-markdown-preview ];
settings = {
git_protocol = "ssh";
prompt = "enabled";
};
};
home.persistence = {
"/persist/home/${username}".directories = [ ".config/gh" ];
};
}