diff --git a/hosts/architect/bazarr.nix b/hosts/architect/bazarr.nix deleted file mode 100644 index b2b305e..0000000 --- a/hosts/architect/bazarr.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ config, lib, ... }: - -let - domain = "htbaz.giugl.io"; -in -{ - services.bazarr = { - enable = true; - group = "media"; - }; - - architect.vhost.${domain} = with config.architect.networks; { - dnsInterfaces = [ "tailscale" ]; - locations."/" = { - allowLan = true; - port = 6767; - - allow = [ - tailscale.net - ]; - }; - }; - - users.groups.media.members = [ "bazarr" ]; -} diff --git a/hosts/architect/jellyfin.nix b/hosts/architect/jellyfin.nix deleted file mode 100644 index efef091..0000000 --- a/hosts/architect/jellyfin.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - domain = "media.giugl.io"; - port = 8096; - allowLan = true; -in -{ - # needed since StateDirectory does not accept symlinks - systemd.services.jellyfin.serviceConfig.StateDirectory = lib.mkForce ""; - - architect.vhost.${domain} = with config.architect.networks; { - dnsInterfaces = [ "lan" "tailscale" ]; - locations = { - "/" = { - inherit port allowLan; - - allow = [ - tailscale.net - ]; - }; - - "/socket" = { - inherit port allowLan; - - proxyWebsockets = true; - allow = [ - tailscale.net - ]; - }; - }; - }; - - services.jellyfin = { - enable = true; - group = "media"; - package = pkgs.unstablePkgs.jellyfin; - }; - - users.groups = { - media.members = [ "jellyfin" ]; - video.members = [ "jellyfin" ]; - render.members = [ "jellyfin" ]; - }; - - fileSystems."/tmp/jellyfin" = { - device = "none"; - fsType = "tmpfs"; - options = [ "defaults" "size=20G" "uid=jellyfin" ]; - }; -} diff --git a/hosts/architect/sonarr.nix b/hosts/architect/sonarr.nix deleted file mode 100644 index 1b29832..0000000 --- a/hosts/architect/sonarr.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ config, pkgs, ... }: - -let - domain = "htson.giugl.io"; -in -{ - services.sonarr = { - enable = true; - group = "media"; - package = pkgs.unstablePkgs.sonarr; - }; - - architect.vhost.${domain} = with config.architect.networks; { - dnsInterfaces = [ "tailscale" "lan" ]; - - locations."/" = { - port = 8989; - allowLan = true; - allow = [ - tailscale.net - ]; - }; - }; - - users.groups.media.members = [ "sonarr" ]; -}