config/users/pbsds/home/profiles/gh-dash.nix

21 lines
391 B
Nix
Raw Normal View History

2023-09-07 00:14:12 +02:00
{ pkgs }:
let
ymlFmt = pkgs.formats.yaml { };
in
{
# TODO: switch to programs.gh-dash.enable once in stable
home.packages = [ pkgs.gh-dash ];
programs.gh.extensions = [ pkgs.gh-dash ];
xdg.configFile."gh-dash/config.yml".source = ymlFmt.generate "gh-dash-config.yml" {
prSections = [{
title = "My Pull Requests";
filters = "is:open author:@me";
}];
};
}