vlc: handle the config file with sane.fs
This commit is contained in:
parent
53edf4e6af
commit
1839f87a4e
|
@ -1,14 +1,14 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, sane-lib, ... }:
|
||||
|
||||
lib.mkIf config.sane.home-manager.enable
|
||||
{
|
||||
home-manager.users.colin.xdg.configFile."vlc/vlcrc".text =
|
||||
sane.fs."/home/colin/.config/vlc/vlcrc" =
|
||||
let
|
||||
feeds = import ./feeds.nix { inherit lib; };
|
||||
podcastUrls = lib.strings.concatStringsSep "|" (
|
||||
builtins.map (feed: feed.url) feeds.podcasts
|
||||
);
|
||||
in ''
|
||||
in sane-lib.fs.wantedText ''
|
||||
[podcast]
|
||||
podcast-urls=${podcastUrls}
|
||||
[core]
|
||||
|
|
Loading…
Reference in New Issue
Block a user