1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-11 03:21:08 +01:00

gh-dash: add module

This commit is contained in:
Janik H 2023-07-05 19:56:25 +02:00 committed by Robert Helgesson
parent ab70a02363
commit a30f5b5b35
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 78 additions and 0 deletions

View file

@ -77,6 +77,7 @@ import nmt {
./modules/programs/fish
./modules/programs/gallery-dl
./modules/programs/gh
./modules/programs/gh-dash
./modules/programs/git-cliff
./modules/programs/git
./modules/programs/gpg

View file

@ -0,0 +1,26 @@
{ ... }:
{
programs.gh-dash = {
enable = true;
settings = {
prSections = [{
title = "My Pull Requests";
filters = "is:open author:@me";
}];
};
};
test.stubs.gh = { };
nmt.script = ''
assertFileExists home-files/.config/gh-dash/config.yml
assertFileContent home-files/.config/gh-dash/config.yml ${
builtins.toFile "config-file.yml" ''
prSections:
- filters: is:open author:@me
title: My Pull Requests
''
}
'';
}

View file

@ -0,0 +1 @@
{ gh-dash-config = ./config.nix; }