diff --git a/hosts/backwards/modules/audiobookshelf/default.nix b/hosts/backwards/modules/audiobookshelf/default.nix deleted file mode 100644 index 4474ac8..0000000 --- a/hosts/backwards/modules/audiobookshelf/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, config, ... }: -let - enabled = config.mod.audiobookshelf.enable; -in -{ - options = { - mod.audiobookshelf = { - enable = lib.mkEnableOption "Enable audiobookshelf module"; - }; - }; - - config = lib.mkIf enabled { - fileSystems."/home/alex/media" = { - device = "/dev/disk/by-uuid/ad4acc0f-172c-40f8-8473-777c957e8764"; - fsType = "ext4"; - options = [ "nofail" ]; - }; - - services.audiobookshelf = { - enable = true; - - user = "alex"; - group = "users"; - - host = "0.0.0.0"; - port = 8000; - }; - }; -} diff --git a/hosts/backwards/modules/default.nix b/hosts/backwards/modules/default.nix index afaf913..7a96cf5 100644 --- a/hosts/backwards/modules/default.nix +++ b/hosts/backwards/modules/default.nix @@ -15,7 +15,6 @@ in nginx.enable = true; syncthing.enable = true; restic.enable = true; - audiobookshelf.enable = true; calibre-web.enable = true; }; };