2023-01-06 16:11:56 +00:00
|
|
|
{ config, lib, sane-lib, ... }:
|
2022-11-22 05:28:41 +00:00
|
|
|
|
2023-01-08 05:24:56 +00:00
|
|
|
let
|
|
|
|
feeds = sane-lib.feeds;
|
|
|
|
all-feeds = config.sane.feeds;
|
|
|
|
wanted-feeds = feeds.filterByFormat ["podcast"] all-feeds;
|
|
|
|
podcast-urls = lib.concatStringsSep "|" (
|
|
|
|
builtins.map (feed: feed.url) wanted-feeds
|
|
|
|
);
|
|
|
|
in
|
2022-11-22 05:28:41 +00:00
|
|
|
lib.mkIf config.sane.home-manager.enable
|
2022-10-21 15:47:21 +00:00
|
|
|
{
|
2023-01-08 05:24:56 +00:00
|
|
|
sane.fs."/home/colin/.config/vlc/vlcrc" = sane-lib.fs.wantedText ''
|
2022-10-21 15:47:21 +00:00
|
|
|
[podcast]
|
2023-01-08 05:24:56 +00:00
|
|
|
podcast-urls=${podcast-urls}
|
2022-10-21 15:47:21 +00:00
|
|
|
[core]
|
|
|
|
metadata-network-access=0
|
|
|
|
[qt]
|
|
|
|
qt-privacy-ask=0
|
|
|
|
'';
|
|
|
|
}
|