fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Loïc Reynierpubs: add moduleafe96e74

master
598 B36 linesraw
1{ config, lib, pkgs, ... }:
2
3{
4  programs.pubs = {
5    enable = true;
6
7    extraConfig = ''
8      [main]
9      pubsdir = ~/.pubs
10      docsdir = ~/.pubs/doc
11      doc_add = link
12      open_cmd = xdg-open
13
14      [plugins]
15      active = git,alias
16
17      [[alias]]
18
19      [[[la]]]
20      command = list -a
21      description = lists papers in lexicographic order
22
23      [[git]]
24      quiet = True
25      manual = False
26      force_color = False
27    '';
28  };
29
30  test.stubs.pubs = { };
31
32  nmt.script = ''
33    assertFileContent \
34      home-files/.pubsrc ${./pubs-example-settings-expected-pubsrc}
35  '';
36}