diff --git a/modules/universal/env/home-manager/default.nix b/modules/universal/env/home-manager/default.nix index 671bab574..1af6fd667 100644 --- a/modules/universal/env/home-manager/default.nix +++ b/modules/universal/env/home-manager/default.nix @@ -22,9 +22,10 @@ in imports = [ ./git.nix ./kitty.nix + ./librewolf.nix ./mpv.nix ./neovim.nix - ./librewolf.nix + ./vlc.nix ./zsh.nix ]; @@ -183,20 +184,6 @@ in xdg.configFile."sublime-music/config.json".source = config.lib.file.mkOutOfStoreSymlink sysconfig.sops.secrets.sublime_music_config.path; - xdg.configFile."vlc/vlcrc".text = - let - 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 - ''; - xdg.configFile."gpodderFeeds.opml".text = with feeds; feedsToOpml feeds.podcasts; diff --git a/modules/universal/env/home-manager/vlc.nix b/modules/universal/env/home-manager/vlc.nix new file mode 100644 index 000000000..9bb7d1fb6 --- /dev/null +++ b/modules/universal/env/home-manager/vlc.nix @@ -0,0 +1,17 @@ +{ lib, ... }: +{ + 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 + ''; +}