nix-config/modules/home-manager/rss/rsssync.nix

11 lines
202 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
let
shell = "${pkgs.dash}/bin/dash";
newsboat = "${pkgs.newsboat}/bin/newsboat";
in
pkgs.writeScriptBin "rsssync" ''
#!${shell}
${newsboat} --execute="reload"
''