From 0ed7ff8d73874c5b4c6db74de50ba51b111d8470 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:40:13 +0400 Subject: [PATCH] okay --- hosts/sakotop/configuration.nix | 1 - modules/media/default.nix | 1 - modules/media/mopidy/default.nix | 36 ------------------------------- modules/media/mopidy/default.nix~ | 0 4 files changed, 38 deletions(-) delete mode 100644 modules/media/mopidy/default.nix delete mode 100644 modules/media/mopidy/default.nix~ diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 9a2348f0..a8033107 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -102,7 +102,6 @@ media = { mpd.enable = false; ncmpcpp.enable = true; - mopidy.enable = false; }; work = { libreoffice.enable = true; diff --git a/modules/media/default.nix b/modules/media/default.nix index 5bd5e790..f5aae6a2 100644 --- a/modules/media/default.nix +++ b/modules/media/default.nix @@ -2,6 +2,5 @@ imports = [ ./mpd ./ncmpcpp - ./mopidy ]; } diff --git a/modules/media/mopidy/default.nix b/modules/media/mopidy/default.nix deleted file mode 100644 index b0c46b14..00000000 --- a/modules/media/mopidy/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - outputs, - options, - config, - lib, - pkgs, - ... -}: -with lib; let - cfg = config.modules.media.mopidy; -in { - options.modules.media.mopidy = { - enable = mkEnableOption false; - }; - - config = mkIf cfg.enable { - services.mopidy = { - enable = true; - extensionPackages = [pkgs.mopidy-mpd pkgs.mopidy-jellyfin]; - configuration = '' - [jellyfin] - hostname = https://jellyfin.sako.box - username = sako - password = - libraries = Music - albumartistsort = False - album_format = {ProductionYear} - {Name} - - [mpd] - enabled = true - host = 127.0.0.1 - connection_timeout = 300 - ''; - }; - }; -} diff --git a/modules/media/mopidy/default.nix~ b/modules/media/mopidy/default.nix~ deleted file mode 100644 index e69de29b..00000000