diff --git a/nix/modules/nixos/features/homelab/audiobookshelf.nix b/nix/modules/nixos/features/homelab/audiobookshelf.nix index 54aabb7..79537dc 100644 --- a/nix/modules/nixos/features/homelab/audiobookshelf.nix +++ b/nix/modules/nixos/features/homelab/audiobookshelf.nix @@ -12,14 +12,14 @@ in services.audiobookshelf = { enable = true; - host = "audiobookshelf.davies.home"; + host = "audiobookshelf.oliverdavies.uk"; port = 4001; }; services.nginx = { enable = true; - virtualHosts."audiobookshelf.davies.home" = { + virtualHosts."audiobookshelf.oliverdavies.uk" = { locations."/" = { proxyPass = "http://localhost:${toString config.services.audiobookshelf.port}/"; proxyWebsockets = true; diff --git a/nix/modules/nixos/features/homelab/forgejo.nix b/nix/modules/nixos/features/homelab/forgejo.nix index 0e71732..e89f203 100644 --- a/nix/modules/nixos/features/homelab/forgejo.nix +++ b/nix/modules/nixos/features/homelab/forgejo.nix @@ -29,7 +29,8 @@ in nginx = { enable = true; - virtualHosts."forgejo.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/"; + virtualHosts."forgejo.oliverdavies.uk".locations."/".proxyPass = + "http://localhost:${toString port}/"; }; }; }; diff --git a/nix/modules/nixos/features/homelab/freshrss/default.nix b/nix/modules/nixos/features/homelab/freshrss/default.nix index f341abe..ea09bdc 100644 --- a/nix/modules/nixos/features/homelab/freshrss/default.nix +++ b/nix/modules/nixos/features/homelab/freshrss/default.nix @@ -9,11 +9,7 @@ in services.nginx = { enable = true; - virtualHosts."freshrss.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/"; - }; - - # TODO: move to pihole. - networking.hosts = { - "127.0.0.1" = [ "freshrss.davies.home" ]; + virtualHosts."freshrss.oliverdavies.uk".locations."/".proxyPass = + "http://localhost:${toString port}/"; }; } diff --git a/nix/modules/nixos/features/homelab/gitea.nix b/nix/modules/nixos/features/homelab/gitea.nix index d44f352..8ff4f58 100644 --- a/nix/modules/nixos/features/homelab/gitea.nix +++ b/nix/modules/nixos/features/homelab/gitea.nix @@ -29,7 +29,7 @@ in nginx = { enable = true; - virtualHosts."gitea.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/"; + virtualHosts."gitea.oliverdavies.uk".locations."/".proxyPass = "http://localhost:${toString port}/"; }; }; }; diff --git a/nix/modules/nixos/features/homelab/immich.nix b/nix/modules/nixos/features/homelab/immich.nix index 098be47..4726c3b 100644 --- a/nix/modules/nixos/features/homelab/immich.nix +++ b/nix/modules/nixos/features/homelab/immich.nix @@ -22,7 +22,8 @@ with lib; services.nginx = { enable = true; - virtualHosts."immich.davies.home".locations."/".proxyPass = "http://localhost:${toString config.services.immich.port}/"; + virtualHosts."immich.oliverdavies.uk".locations."/".proxyPass = + "http://localhost:${toString config.services.immich.port}/"; }; }; } diff --git a/nix/modules/nixos/features/homelab/jellyfin.nix b/nix/modules/nixos/features/homelab/jellyfin.nix index 12a79c9..1397fda 100644 --- a/nix/modules/nixos/features/homelab/jellyfin.nix +++ b/nix/modules/nixos/features/homelab/jellyfin.nix @@ -16,7 +16,7 @@ with lib; services.nginx = { enable = true; - virtualHosts."jellyfin.davies.home".locations."/".proxyPass = "http://localhost:8096/"; + virtualHosts."jellyfin.oliverdavies.uk".locations."/".proxyPass = "http://localhost:8096/"; }; }; } diff --git a/nix/modules/nixos/features/homelab/tubearchivist-container.nix b/nix/modules/nixos/features/homelab/tubearchivist-container.nix index b3b5454..300b3e9 100644 --- a/nix/modules/nixos/features/homelab/tubearchivist-container.nix +++ b/nix/modules/nixos/features/homelab/tubearchivist-container.nix @@ -289,7 +289,8 @@ in services.nginx = { enable = true; - virtualHosts."tubearchivist.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/"; + virtualHosts."tubearchivist.oliverdavies.uk".locations."/".proxyPass = + "http://localhost:${toString port}/"; }; }; }