From f9f970d8364c220c9357f4791fdca2ced72fa804 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 23 Jun 2026 20:50:07 -0500 Subject: no more mkCaddyConfig, manually specify ports, no more manual /etc/hosts, started using dnsmasq instead. all works! --- modules/services/nixos/mopidy.nix | 41 --------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 modules/services/nixos/mopidy.nix (limited to 'modules/services/nixos/mopidy.nix') diff --git a/modules/services/nixos/mopidy.nix b/modules/services/nixos/mopidy.nix deleted file mode 100644 index 844a387..0000000 --- a/modules/services/nixos/mopidy.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - pkgs, - config, - lib, - ... -}: let - cfg = config.collinux.services.mopidy; -in { - config = lib.mkIf cfg.enable { - services.mopidy = { - enable = true; - extensionPackages = with pkgs; [mopidy-youtube mopidy-mpd mopidy-local]; - settings = { - mpd = { - enabled = true; - hostname = "0.0.0.0"; - port = cfg.port; - }; - - # disable default plugins - file.enabled = false; - http.enabled = false; # only use mpd - - local = { - enabled = true; - media_dir = "/media/library/music"; - }; - - youtube = { - enabled = true; - allow_cache = true; - musicapi_enabled = true; - youtube_dl_package = "yt_dlp"; - autoplay_enabled = true; - strict_autoplay = false; - search_results = 15; - }; - }; - }; - }; -} -- cgit v1.3.1