diff --git a/hosts/servers/alexandria/actual.nix b/hosts/servers/alexandria/actual.nix index 9f08bf8..8ef19e4 100644 --- a/hosts/servers/alexandria/actual.nix +++ b/hosts/servers/alexandria/actual.nix @@ -8,8 +8,8 @@ extraOptions = [ "--label=io.containers.autoupdate=registry" ]; }; - services.nginx.virtualHosts."actual.baduhai.me" = { - useACMEHost = "baduhai.me"; + services.nginx.virtualHosts."actual.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.actual}"; diff --git a/hosts/servers/alexandria/arr.nix b/hosts/servers/alexandria/arr.nix index 823a194..8ea97e7 100644 --- a/hosts/servers/alexandria/arr.nix +++ b/hosts/servers/alexandria/arr.nix @@ -30,33 +30,33 @@ }; nginx.virtualHosts = { - "bazarr.baduhai.me" = { - useACMEHost = "baduhai.me"; + "bazarr.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.bazaar}"; }; - "jackett.baduhai.me" = { - useACMEHost = "baduhai.me"; + "jackett.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.jackett}"; }; - "qbittorrent.baduhai.me" = { - useACMEHost = "baduhai.me"; + "qbittorrent.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.qbittorrent}"; }; - "radarr.baduhai.me" = { - useACMEHost = "baduhai.me"; + "radarr.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.radarr}"; }; - "sonarr.baduhai.me" = { - useACMEHost = "baduhai.me"; + "sonarr.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.sonarr}"; diff --git a/hosts/servers/alexandria/changedetection.nix b/hosts/servers/alexandria/changedetection.nix index ee231c3..03bcd54 100644 --- a/hosts/servers/alexandria/changedetection.nix +++ b/hosts/servers/alexandria/changedetection.nix @@ -8,11 +8,11 @@ behindProxy = true; datastorePath = "/data/changedetection"; port = lib.toInt "${config.ports.changedetection-io}"; - baseURL = "https://detect.baduhai.me"; + baseURL = "https://detect.baduhai.dev"; }; - nginx.virtualHosts."detect.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."detect.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = diff --git a/hosts/servers/alexandria/cinny.nix b/hosts/servers/alexandria/cinny.nix index c72ff9c..8d6443e 100644 --- a/hosts/servers/alexandria/cinny.nix +++ b/hosts/servers/alexandria/cinny.nix @@ -9,8 +9,8 @@ extraOptions = [ "--label=io.containers.autoupdate=registry" ]; }; - services.nginx.virtualHosts."cinny.baduhai.me" = { - useACMEHost = "baduhai.me"; + services.nginx.virtualHosts."cinny.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.cinny}"; diff --git a/hosts/servers/alexandria/jellyfin.nix b/hosts/servers/alexandria/jellyfin.nix index 7202227..cf90692 100644 --- a/hosts/servers/alexandria/jellyfin.nix +++ b/hosts/servers/alexandria/jellyfin.nix @@ -9,8 +9,8 @@ openFirewall = true; }; - nginx.virtualHosts."jellyfin.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."jellyfin.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.jellyfin}"; diff --git a/hosts/servers/alexandria/librespeed.nix b/hosts/servers/alexandria/librespeed.nix index a145eaa..4f9cf11 100644 --- a/hosts/servers/alexandria/librespeed.nix +++ b/hosts/servers/alexandria/librespeed.nix @@ -8,8 +8,8 @@ extraOptions = [ "--label=io.containers.autoupdate=registry" ]; }; - services.nginx.virtualHosts."librespeed.baduhai.me" = { - useACMEHost = "baduhai.me"; + services.nginx.virtualHosts."librespeed.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.librespeed}"; diff --git a/hosts/servers/alexandria/logseq.nix b/hosts/servers/alexandria/logseq.nix index 82cc70f..cbd9f6e 100644 --- a/hosts/servers/alexandria/logseq.nix +++ b/hosts/servers/alexandria/logseq.nix @@ -8,8 +8,8 @@ extraOptions = [ "--label=io.containers.autoupdate=registry" ]; }; - services.nginx.virtualHosts."logseq.baduhai.me" = { - useACMEHost = "baduhai.me"; + services.nginx.virtualHosts."logseq.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.logseq}"; diff --git a/hosts/servers/alexandria/matrix.nix b/hosts/servers/alexandria/matrix.nix index 9354b76..2cd0426 100644 --- a/hosts/servers/alexandria/matrix.nix +++ b/hosts/servers/alexandria/matrix.nix @@ -7,7 +7,7 @@ extraEnvironment = { RUST_MIN_STACK = "16777216"; }; package = pkgs.unstable.matrix-conduit; settings.global = { - server_name = "baduhai.me"; + server_name = "baduhai.dev"; address = "127.0.0.1"; port = 6167; max_request_size = 20000000; @@ -17,21 +17,21 @@ }; }; - nginx.virtualHosts."matrix.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."matrix.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.cinny2}"; locations."/_matrix/".proxyPass = "http://127.0.0.1:6167$request_uri"; locations."= /.well-known/matrix/client" = { alias = pkgs.writeText "matrix-wk-client" '' - { "m.homeserver": { "base_url": "https://matrix.baduhai.me" } } + { "m.homeserver": { "base_url": "https://matrix.baduhai.dev" } } ''; extraConfig = "add_header Access-Control-Allow-Origin *;"; }; locations."= /.well-known/matrix/server" = { alias = pkgs.writeText "matrix-wk-server" '' - { "m.server": "matrix.baduhai.me:443" } + { "m.server": "matrix.baduhai.dev:443" } ''; extraConfig = "add_header Access-Control-Allow-Origin *;"; }; diff --git a/hosts/servers/alexandria/nextcloud.nix b/hosts/servers/alexandria/nextcloud.nix index 8f9836d..8886634 100644 --- a/hosts/servers/alexandria/nextcloud.nix +++ b/hosts/servers/alexandria/nextcloud.nix @@ -6,7 +6,7 @@ enable = true; package = pkgs.nextcloud27; datadir = "/data/nextcloud"; - hostName = "nextcloud.baduhai.me"; + hostName = "nextcloud.baduhai.dev"; configureRedis = true; https = true; autoUpdateApps.enable = true; @@ -25,7 +25,7 @@ }; nginx.virtualHosts.${config.services.nextcloud.hostName} = { - useACMEHost = "baduhai.me"; + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; }; diff --git a/hosts/servers/alexandria/nginx.nix b/hosts/servers/alexandria/nginx.nix index b501c4d..982ca81 100644 --- a/hosts/servers/alexandria/nginx.nix +++ b/hosts/servers/alexandria/nginx.nix @@ -8,8 +8,8 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - virtualHosts."baduhai.me" = { - useACMEHost = "baduhai.me"; + virtualHosts."baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; root = inputs.homepage; diff --git a/hosts/servers/alexandria/node-red.nix b/hosts/servers/alexandria/node-red.nix index 0554c92..5a87370 100644 --- a/hosts/servers/alexandria/node-red.nix +++ b/hosts/servers/alexandria/node-red.nix @@ -9,8 +9,8 @@ userDir = "/data/node-red"; }; - nginx.virtualHosts."node-red.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."node-red.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = diff --git a/hosts/servers/alexandria/paperless.nix b/hosts/servers/alexandria/paperless.nix index 756c1ac..6d4787b 100644 --- a/hosts/servers/alexandria/paperless.nix +++ b/hosts/servers/alexandria/paperless.nix @@ -12,8 +12,8 @@ extraConfig = { PAPERLESS_OCR_LANGUAGE = "eng+por+deu"; }; }; - nginx.virtualHosts."paperless.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."paperless.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.paperless}"; diff --git a/hosts/servers/alexandria/searx.nix b/hosts/servers/alexandria/searx.nix index 5cbb29d..a6afe35 100644 --- a/hosts/servers/alexandria/searx.nix +++ b/hosts/servers/alexandria/searx.nix @@ -13,8 +13,8 @@ }; }; - nginx.virtualHosts."searx.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."searx.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.searx}"; diff --git a/hosts/servers/alexandria/security.nix b/hosts/servers/alexandria/security.nix index 9c5a4a3..7b68de0 100644 --- a/hosts/servers/alexandria/security.nix +++ b/hosts/servers/alexandria/security.nix @@ -9,7 +9,7 @@ dnsProvider = "cloudflare"; credentialsFile = config.age.secrets.cloudflare.path; }; - certs."baduhai.me" = { extraDomainNames = [ "*.baduhai.me" ]; }; + certs."baduhai.dev" = { extraDomainNames = [ "*.baduhai.dev" ]; }; }; boot.kernel.sysctl = { diff --git a/hosts/servers/alexandria/vaultwarden.nix b/hosts/servers/alexandria/vaultwarden.nix index 50927bb..f61e9d1 100644 --- a/hosts/servers/alexandria/vaultwarden.nix +++ b/hosts/servers/alexandria/vaultwarden.nix @@ -5,15 +5,15 @@ vaultwarden = { enable = true; config = { - DOMAIN = "https://vaultwarden.baduhai.me"; + DOMAIN = "https://vaultwarden.baduhai.dev"; SIGNUPS_ALLOWED = true; ROCKET_ADDRESS = "127.0.0.1"; ROCKET_PORT = "${config.ports.vaultwarden}"; }; }; - nginx.virtualHosts."vaultwarden.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."vaultwarden.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.vaultwarden}"; diff --git a/hosts/servers/alexandria/yousable.nix b/hosts/servers/alexandria/yousable.nix index 27d74fe..f0e980c 100644 --- a/hosts/servers/alexandria/yousable.nix +++ b/hosts/servers/alexandria/yousable.nix @@ -85,8 +85,8 @@ in { configFile = "${configyaml}"; }; - nginx.virtualHosts."yousable.baduhai.me" = { - useACMEHost = "baduhai.me"; + nginx.virtualHosts."yousable.baduhai.dev" = { + useACMEHost = "baduhai.dev"; forceSSL = true; kTLS = true; locations."/".proxyPass = "http://127.0.0.1:${config.ports.yousable}";