mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 21:49:48 +01:00
19 lines
376 B
Nix
19 lines
376 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
programs.pandoc = {
|
||
|
enable = true;
|
||
|
|
||
|
templates = { "default.latex" = ./template.latex; };
|
||
|
};
|
||
|
|
||
|
test.stubs.pandoc = import ./stub.nix;
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.local/share/pandoc/templates/default.latex
|
||
|
assertFileContent home-files/.local/share/pandoc/templates/default.latex \
|
||
|
${./template.latex}
|
||
|
'';
|
||
|
}
|
||
|
|