2022-11-22 05:28:41 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
|
|
|
lib.mkIf config.sane.home-manager.enable
|
2022-10-21 15:47:21 +00:00
|
|
|
{
|
|
|
|
home-manager.users.colin.xdg.configFile."vlc/vlcrc".text =
|
|
|
|
let
|
|
|
|
feeds = import ./feeds.nix { inherit lib; };
|
|
|
|
podcastUrls = lib.strings.concatStringsSep "|" (
|
|
|
|
builtins.map (feed: feed.url) feeds.podcasts
|
|
|
|
);
|
|
|
|
in ''
|
|
|
|
[podcast]
|
|
|
|
podcast-urls=${podcastUrls}
|
|
|
|
[core]
|
|
|
|
metadata-network-access=0
|
|
|
|
[qt]
|
|
|
|
qt-privacy-ask=0
|
|
|
|
'';
|
|
|
|
}
|