1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/modules/programs/pubs/pubs-example-settings.nix

37 lines
598 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
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
'';
};
test.stubs.pubs = { };
nmt.script = ''
assertFileContent \
home-files/.pubsrc ${./pubs-example-settings-expected-pubsrc}
'';
}