desktop: add reddit command
This commit is contained in:
parent
599fab5636
commit
599205262e
2 changed files with 9 additions and 7 deletions
|
@ -175,10 +175,6 @@ in {
|
||||||
|
|
||||||
irc
|
irc
|
||||||
|
|
||||||
#fzf
|
|
||||||
#rofi
|
|
||||||
#dmenu
|
|
||||||
|
|
||||||
manpages
|
manpages
|
||||||
|
|
||||||
emo
|
emo
|
||||||
|
@ -303,8 +299,15 @@ in {
|
||||||
(pkgs.writers.writeBashBin "etc-info-restic"
|
(pkgs.writers.writeBashBin "etc-info-restic"
|
||||||
(lib.fileContents <assets/etc-info/restic.sh>))
|
(lib.fileContents <assets/etc-info/restic.sh>))
|
||||||
|
|
||||||
|
(pkgs.writers.writeDashBin "reddit" ''
|
||||||
|
${unstablePkgs.tuir}/bin/tuir "$@"
|
||||||
|
'')
|
||||||
|
|
||||||
] ++ (lib.crossLists pandocScript [
|
] ++ (lib.crossLists pandocScript [
|
||||||
[ "man" "markdown" "mediawiki" ]
|
[ "man" "markdown" "mediawiki" ]
|
||||||
[ "mediawiki" "docbook5" "html5" "man" ]
|
[ "mediawiki" "docbook5" "html5" "man" ]
|
||||||
]);
|
]) ++ (map (search:
|
||||||
|
pkgs.writers.writeDashBin "reddit-${search}" ''
|
||||||
|
${unstablePkgs.tuir}/bin/tuir -s ${search} "$@"
|
||||||
|
'') [ "nixos" "systemdUltras" "terraform" ]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }: {
|
||||||
{
|
|
||||||
|
|
||||||
backup.services.restic = {
|
backup.services.restic = {
|
||||||
"on-porani.private".enable = lib.mkDefault true;
|
"on-porani.private".enable = lib.mkDefault true;
|
||||||
|
|
Loading…
Reference in a new issue