1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 18:57:22 +00:00
home-manager/tests/modules/programs/pubs/pubs-example-settings.nix

33 lines
543 B
Nix
Raw Normal View History

{
programs.pubs = {
enable = true;
extraConfig = ''
[main]
pubsdir = ~/.pubs
docsdir = ~/.pubs/doc
doc_add = link
open_cmd = xdg-open
[plugins]
active = git,alias
[[alias]]
[[[la]]]
command = list -a
description = lists papers in lexicographic order
[[git]]
quiet = True
manual = False
force_color = False
'';
};
nmt.script = ''
assertFileContent \
home-files/.pubsrc ${./pubs-example-settings-expected-pubsrc}
'';
}