nix-config/home/rss/rsssync.nix

11 lines
202 B
Nix

{ config, pkgs, ... }:
let
shell = "${pkgs.dash}/bin/dash";
newsboat = "${pkgs.newsboat}/bin/newsboat";
in
pkgs.writeScriptBin "rsssync" ''
#!${shell}
${newsboat} --execute="reload"
''