wip: gh-dash

This commit is contained in:
Peder Bergebakken Sundt 2023-09-07 00:14:12 +02:00
parent 5474910440
commit b8da8338a1
2 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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";
}];
};
}