wip: gh-dash
This commit is contained in:
parent
5474910440
commit
b8da8338a1
|
@ -10,6 +10,7 @@
|
|||
./profiles/gtk.nix
|
||||
./profiles/micro.nix
|
||||
./profiles/shell.nix
|
||||
#./profiles/gh-dash.nix
|
||||
./profiles/ssh.nix
|
||||
./profiles/tmate.nix
|
||||
./profiles/update-diff.nix
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{ 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";
|
||||
}];
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue