mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-18 22:33:00 +00:00
25 lines
531 B
Nix
25 lines
531 B
Nix
{
|
|
programs = {
|
|
gh.enable = true;
|
|
gh-dash = {
|
|
enable = true;
|
|
settings = {
|
|
prSections = [{
|
|
title = "My Pull Requests";
|
|
filters = "is:open author:@me";
|
|
}];
|
|
};
|
|
};
|
|
};
|
|
|
|
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
|
|
''
|
|
}
|
|
'';
|
|
}
|