about summary refs log tree commit diff
path: root/nixos/kanata/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-12-09 01:04:20 +0900
committersefidel <contact@sefidel.net>2024-12-22 13:19:22 +0900
commit413d4cd4a66b1f3164c72ff18826451ceaaf2061 (patch)
tree2c488c5f5e35a0a39c304db279d5ae31550cc660 /nixos/kanata/configuration.nix
parent6c891fa9ccaebd7d94f64404d4cb375bfdac616e (diff)
downloadnixrc-413d4cd4a66b1f3164c72ff18826451ceaaf2061.tar.gz
nixrc-413d4cd4a66b1f3164c72ff18826451ceaaf2061.zip
feat(nixos/kanata): change internal domain
Diffstat (limited to 'nixos/kanata/configuration.nix')
-rw-r--r--nixos/kanata/configuration.nix56
1 files changed, 28 insertions, 28 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index 0d8dc10..ed8c21d 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -78,7 +78,7 @@ in
   sops.secrets.nextcloud-admin-pass = { owner = "nextcloud"; };
   sops.secrets.acme-credentials = { owner = "acme"; };
   sops.secrets.grafana-admin-pass = { owner = "grafana"; };
-  sops.secrets.cf-kusanari-kanata-credentials = { owner = "cloudflared"; };
+  sops.secrets.cf-kanata-credentials = { owner = "cloudflared"; };
   sops.secrets.nitter-account-jsonl = { };
   # sops.secrets.interlink-private-key = { };
   sops.secrets.interlink-wg-config = { };
@@ -177,18 +177,18 @@ in
       enable = true;
 
       routes = {
-        "dns.kusanari.network".to = "http://localhost:4000";
-        "metrics.kusanari.network".to = "http://localhost:4001";
-        "nitter.kusanari.network".to = "http://localhost:4002";
-        "invidious.kusanari.network".to = "http://localhost:4003";
-        "hydra.kusanari.network".to = "http://localhost:4004";
-        "cache.kusanari.network".to = "http://localhost:4005";
-        "torrent.kusanari.network".to = "http://localhost:4006";
-        "paperless.kusanari.network".to = "http://localhost:4007";
-        "change.labs.kusanari.network".to = "http://localhost:4901";
+        "dns.kanata.network".to = "http://localhost:4000";
+        "metrics.kanata.network".to = "http://localhost:4001";
+        "nitter.kanata.network".to = "http://localhost:4002";
+        "invidious.kanata.network".to = "http://localhost:4003";
+        "hydra.kanata.network".to = "http://localhost:4004";
+        "cache.kanata.network".to = "http://localhost:4005";
+        "torrent.kanata.network".to = "http://localhost:4006";
+        "paperless.kanata.network".to = "http://localhost:4007";
+        "change.labs.kanata.network".to = "http://localhost:4901";
 
         # Nginx pre-configured routes
-        "nextcloud.kusanari.network" = {
+        "nextcloud.kanata.network" = {
           to = "http://localhost:80";
           configureNginx = false;
         };
@@ -196,13 +196,13 @@ in
 
       ssl = {
         enable = true;
-        acmeHost = "kusanari.network";
+        acmeHost = "kanata.network";
       };
 
       tailscaleIp = "100.93.1.1";
-      # kusanari-kanata @ core
+      # kanata @ core
       cloudflareUUID = "bf6dcc14-d315-41c7-b798-3fe0e0e968eb";
-      secrets.cloudflare-credentials = config.sops.secrets.cf-kusanari-kanata-credentials.path;
+      secrets.cloudflare-credentials = config.sops.secrets.cf-kanata-credentials.path;
     };
 
     services.nginx.enable = true;
@@ -212,7 +212,7 @@ in
       email = poorObfuscation "sefidel.net" "postmaster";
 
       certs = {
-        "kusanari.network" = {
+        "kanata.network" = {
           subDomains = [
             "*.labs"
             "cache"
@@ -234,7 +234,7 @@ in
 
     services.metrics = {
       enable = true;
-      realHost = "metrics.kusanari.network";
+      realHost = "metrics.kanata.network";
       secrets.adminPassword = config.sops.secrets.grafana-admin-pass.path;
     };
 
@@ -243,7 +243,7 @@ in
     services.blocky = {
       enable = true;
 
-      realHost = "dns.kusanari.network";
+      realHost = "dns.kanata.network";
     };
 
     services.nextcloud = rec {
@@ -254,18 +254,18 @@ in
         acmeHost = domain;
       };
 
-      domain = "kusanari.network";
-      realHost = "nextcloud.kusanari.network";
+      domain = "kanata.network";
+      realHost = "nextcloud.kanata.network";
       secrets.admin-pass = config.sops.secrets.nextcloud-admin-pass.path;
     };
 
     services.nitter = {
       enable = true;
 
-      title = "Kusanari Nitter";
+      title = "Kanata Nitter";
 
-      domain = "kusanari.network";
-      realHost = "nitter.kusanari.network";
+      domain = "kanata.network";
+      realHost = "nitter.kanata.network";
       secrets.nitter-guest-accounts = config.sops.secrets.nitter-account-jsonl.path;
     };
 
@@ -283,22 +283,22 @@ in
     services.invidious = {
       enable = true;
 
-      domain = "kusanari.network";
-      realHost = "invidious.kusanari.network";
+      domain = "kanata.network";
+      realHost = "invidious.kanata.network";
       secrets.invidious-hmac-key = config.sops.secrets.invidious-hmac.path;
     };
 
     services.hydra = {
       enable = true;
 
-      baseURL = "https://hydra.kusanari.network";
+      baseURL = "https://hydra.kanata.network";
     };
 
     services.atticd = {
       enable = true;
 
-      hosts = [ "cache.kusanari.network" ];
-      baseURL = "https://cache.kusanari.network/";
+      hosts = [ "cache.kanata.network" ];
+      baseURL = "https://cache.kanata.network/";
 
       storagePath = "/smol/archive/attic";
 
@@ -317,7 +317,7 @@ in
     services.paperless = {
       enable = true;
 
-      realHost = "paperless.kusanari.network";
+      realHost = "paperless.kanata.network";
       secrets.paperless-superuser-password = config.sops.secrets.paperless-superuser-password.path;
     };
   };