diff options
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 5045dacc..892cd58b 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -359,6 +359,31 @@ in { | |||
359 | }; | 359 | }; |
360 | }; | 360 | }; |
361 | 361 | ||
362 | xdg.dataFile = { | ||
363 | "pandoc/abbreviations" = { | ||
364 | source = pkgs.runCommand "pandoc-abbreviations" { | ||
365 | buildInputs = [ pkgs.pandoc pkgs.coreutils ]; | ||
366 | } (let | ||
367 | germanAbbrevs = pkgs.fetchFromGitHub { | ||
368 | owner = "jfilter"; | ||
369 | repo = "german-abbreviations"; | ||
370 | rev = "8eb9dae93b6f05d7c53374cd217ab2dc89558e0c"; | ||
371 | sha256 = "SaD3tSqzen6Y3SPICe6/9vhe4iMHlArZ3kFQaEk7Hps="; | ||
372 | }; | ||
373 | in '' | ||
374 | cat \ | ||
375 | <(pandoc --print-default-data-file=abbreviations) \ | ||
376 | <(grep -E '^[^ ]+\.$' ${germanAbbrevs}/german_abbreviations.txt) \ | ||
377 | ${pkgs.writeText "abbrevs.txt" '' | ||
378 | i.A. | ||
379 | d.h. | ||
380 | D.h. | ||
381 | ''} \ | ||
382 | | sort | uniq >$out | ||
383 | ''); | ||
384 | }; | ||
385 | }; | ||
386 | |||
362 | fonts.fontconfig.enable = true; | 387 | fonts.fontconfig.enable = true; |
363 | 388 | ||
364 | systemd.user = import ./systemd.nix inputs; | 389 | systemd.user = import ./systemd.nix inputs; |