mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 04:23:18 +00:00
27 lines
514 B
Nix
27 lines
514 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
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
|
||
|
''
|
||
|
}
|
||
|
'';
|
||
|
}
|