1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 07:09:45 +01:00
home-manager/tests/modules/programs/gh-dash/config.nix

27 lines
514 B
Nix
Raw Normal View History

2023-07-05 19:56:25 +02:00
{ ... }:
{
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
''
}
'';
}