nix-config/home-manager/_mixins/cli/gh.nix

15 lines
294 B
Nix
Raw Permalink Normal View History

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