diff --git a/nixos/mirai/services/default.nix b/nixos/mirai/services/default.nix index 4f4446c3..1b0b7d89 100644 --- a/nixos/mirai/services/default.nix +++ b/nixos/mirai/services/default.nix @@ -10,7 +10,6 @@ ./minecraft.nix ./nextcloud.nix ./tailscale.nix - ./zerotier.nix ./prowlarr.nix ./flaresolverr.nix ./searxng.nix @@ -26,6 +25,7 @@ # ./seafile.nix # ./syncthing.nix # ./vscode.nix + # ./zerotier.nix ]; services = { nix-serve = { diff --git a/nixos/mirai/services/homepage.nix b/nixos/mirai/services/homepage.nix index d2f73443..b50e2259 100644 --- a/nixos/mirai/services/homepage.nix +++ b/nixos/mirai/services/homepage.nix @@ -29,42 +29,49 @@ { "Jellyseerr" = { icon = "jellyseerr.png"; - description = "Jellyseerr Media Server"; + description = "Jellyseerr: Media Request Management"; href = "https://jellyseerr.tsuba.darksailor.dev"; }; } { "Sonarr" = { icon = "sonarr.png"; - description = "Sonarr"; + description = "Sonarr: TV Series Management"; href = "https://sonarr.tsuba.darksailor.dev"; }; } + { + "Bazarr" = { + icon = "bazarr.png"; + description = "Bazarr: Subtitles and Metadata"; + href = "https://bazarr.tsuba.darksailor.dev"; + }; + } { "Lidarr" = { icon = "lidarr.png"; - description = "Lidarr"; + description = "Lidarr: Music Management"; href = "https://lidarr.tsuba.darksailor.dev"; }; } { "Radarr" = { icon = "radarr.png"; - description = "Radarr"; + description = "Radarr: Movie Management"; href = "https://radarr.tsuba.darksailor.dev"; }; } { "Deluge" = { icon = "deluge.png"; - description = "Deluge"; + description = "Deluge: Torrent Client"; href = "https://deluge.tsuba.darksailor.dev"; }; } { "Prowlarr" = { icon = "prowlarr.png"; - description = "Prowlarr"; + description = "Prowlarr: Indexer Manager"; href = "https://prowlarr.tsuba.darksailor.dev"; }; } diff --git a/nixos/tsuba/configuration.nix b/nixos/tsuba/configuration.nix index b7a2e045..82b718c2 100644 --- a/nixos/tsuba/configuration.nix +++ b/nixos/tsuba/configuration.nix @@ -62,4 +62,5 @@ users.groups.media = {}; system.stateVersion = "25.05"; services.openssh.enable = true; + time.timeZone = "Asia/Kolkata"; } diff --git a/nixos/tsuba/services/blocky.nix b/nixos/tsuba/services/blocky.nix index 75c2398b..a115f7b0 100644 --- a/nixos/tsuba/services/blocky.nix +++ b/nixos/tsuba/services/blocky.nix @@ -1,6 +1,6 @@ {...}: { services.blocky = { - enable = true; + enable = false; settings = { ports.dns = 53; # Port for incoming DNS Queries. upstreams.groups.default = [ diff --git a/nixos/tsuba/services/default.nix b/nixos/tsuba/services/default.nix index 53834994..ab87c8ae 100644 --- a/nixos/tsuba/services/default.nix +++ b/nixos/tsuba/services/default.nix @@ -9,7 +9,7 @@ ./homeassistant.nix # ./dnscrypt.nix # ./resolved.nix - ./blocky.nix + # ./blocky.nix ./flaresolverr.nix ]; } diff --git a/nixos/tsuba/services/servarr.nix b/nixos/tsuba/services/servarr.nix index f77301c5..f950bb00 100644 --- a/nixos/tsuba/services/servarr.nix +++ b/nixos/tsuba/services/servarr.nix @@ -3,14 +3,7 @@ config, lib, ... -}: let - mkCaddy = name: { - caddy.virtualHosts."${name}.tsuba.darksailor.dev".extraConfig = '' - import hetzner - reverse_proxy localhost:${builtins.toString config.services.${name}.settings.server.port} - ''; - }; -in { +}: { services = { sonarr = { enable = true; @@ -27,6 +20,11 @@ in { package = unstablePkgs.lidarr; group = "media"; }; + bazarr = { + enable = true; + package = unstablePkgs.bazarr; + group = "media"; + }; caddy.virtualHosts = { "sonarr.tsuba.darksailor.dev".extraConfig = '' import hetzner @@ -40,6 +38,10 @@ in { import hetzner reverse_proxy localhost:${builtins.toString config.services.lidarr.settings.server.port} ''; + "bazarr.tsuba.darksailor.dev".extraConfig = '' + import hetzner + reverse_proxy localhost:${builtins.toString config.services.bazarr.listenPort} + ''; "prowlarr.tsuba.darksailor.dev".extraConfig = '' import hetzner reverse_proxy mirai.darksailor.dev:9696 diff --git a/nixos/tsuba/tsuba.nix b/nixos/tsuba/tsuba.nix index 7fc5fe6e..774165a0 100644 --- a/nixos/tsuba/tsuba.nix +++ b/nixos/tsuba/tsuba.nix @@ -27,29 +27,8 @@ # ]; # }; # }; - # hardware.raspberry-pi.extra-config = '' - # [all] - # dtparam=pciex1 - # dtparam=pciex1_gen=2 - # ''; + hardware.raspberry-pi.extra-config = '' + [all] + dtparam=pciex1_gen=2 + ''; } -# ({ -# config, -# pkgs, -# lib, -# ... -# }: { -# -# system.nixos.tags = let -# cfg = config.boot.loader.raspberryPi; -# in [ -# "raspberry-pi-${cfg.variant}" -# cfg.bootloader -# config.boot.kernelPackages.kernel.version -# ]; -# # hardware.raspberry-pi.config = { -# # }; -# system.stateVersion = "25.05"; -# services.openssh.enable = true; -# }) -