From b8d6691f1a8fc720f3d364f433fb66336ffb0f77 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 13 Mar 2023 10:06:03 +0100 Subject: [PATCH] Disable mopidy-youtube caching --- modules/audio.nix | 1 - modules/periodic.nix | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/modules/audio.nix b/modules/audio.nix index 0bd88b5..a4e901c 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -90,7 +90,6 @@ in { base_dir = /home/coolneng/Music [youtube] - allow_cache = true search_results = 50 youtube_dl_package = yt_dlp musicapi_enabled = true diff --git a/modules/periodic.nix b/modules/periodic.nix index d3f4998..3f32d23 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -138,16 +138,6 @@ with pkgs; after = [ "network-online.target" ]; }; - # Clean up Mopidy cache monthly - systemd.services.mopidy-cleanup = { - description = "Clean up Mopidy cache monthly"; - path = [ coreutils ]; - script = "${pkgs.coreutils}/bin/rm -rf /var/lib/mopidy/.cache/*"; - serviceConfig.Type = "oneshot"; - startAt = "*-*-15 14:00:00"; - after = [ "network-online.target" ]; - }; - # Pull changes from zion daily systemd.user.services.zion-pull = { description = "Pull zion changes to git";