2023-01-06 16:27:05 +00:00
|
|
|
# gnome feeds RSS viewer
|
2023-05-16 02:12:14 +00:00
|
|
|
{ config, pkgs, sane-lib, ... }:
|
2023-01-06 16:27:05 +00:00
|
|
|
|
|
|
|
let
|
2023-01-08 05:24:56 +00:00
|
|
|
feeds = sane-lib.feeds;
|
|
|
|
all-feeds = config.sane.feeds;
|
|
|
|
wanted-feeds = feeds.filterByFormat ["podcast"] all-feeds;
|
2023-01-06 16:27:05 +00:00
|
|
|
in {
|
2023-05-17 10:39:50 +00:00
|
|
|
sane.programs.gpodder = {
|
|
|
|
package = pkgs.gpodder-configured;
|
|
|
|
fs.".config/gpodderFeeds.opml".symlink.text = feeds.feedsToOpml wanted-feeds;
|
|
|
|
|
|
|
|
# XXX: we preserve the whole thing because if we only preserve gPodder/Downloads
|
|
|
|
# then startup is SLOW during feed import, and we might end up with zombie eps in the dl dir.
|
|
|
|
persist.plaintext = [ "gPodder" ];
|
|
|
|
};
|
2023-01-06 16:27:05 +00:00
|
|
|
}
|