diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-06-23 20:50:07 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-06-23 20:50:07 -0500 |
| commit | f9f970d8364c220c9357f4791fdca2ced72fa804 (patch) | |
| tree | 6d2ef5e2a3e7dfa8f3640b74181a8bb044e74599 /modules/services/nixos/mopidy.nix | |
| parent | 9ef174152929b038b01bc2f261b719a57cdad654 (diff) | |
no more mkCaddyConfig, manually specify ports, no more manual /etc/hosts, started using dnsmasq instead. all works!
Diffstat (limited to 'modules/services/nixos/mopidy.nix')
| -rw-r--r-- | modules/services/nixos/mopidy.nix | 41 |
1 files changed, 0 insertions, 41 deletions
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; - }; - }; - }; - }; -} |
