desktop: add reddit command

This commit is contained in:
Ingolf Wagner 2020-01-28 17:02:59 +13:00
parent 599fab5636
commit 599205262e
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 9 additions and 7 deletions

View file

@ -175,10 +175,6 @@ in {
irc
#fzf
#rofi
#dmenu
manpages
emo
@ -303,8 +299,15 @@ in {
(pkgs.writers.writeBashBin "etc-info-restic"
(lib.fileContents <assets/etc-info/restic.sh>))
(pkgs.writers.writeDashBin "reddit" ''
${unstablePkgs.tuir}/bin/tuir "$@"
'')
] ++ (lib.crossLists pandocScript [
[ "man" "markdown" "mediawiki" ]
[ "mediawiki" "docbook5" "html5" "man" ]
]);
]) ++ (map (search:
pkgs.writers.writeDashBin "reddit-${search}" ''
${unstablePkgs.tuir}/bin/tuir -s ${search} "$@"
'') [ "nixos" "systemdUltras" "terraform" ]);
}

View file

@ -1,5 +1,4 @@
{ lib, ... }:
{
{ lib, ... }: {
backup.services.restic = {
"on-porani.private".enable = lib.mkDefault true;