about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-10 07:19:35 +0900
committersefidel <contact@sefidel.net>2024-02-10 07:24:14 +0900
commitdf683f6042fa4ce14367c6a0b810ab29f1a2ae9e (patch)
treeaaf099448940a53e371c3b938efce650c8c47c84 /nixos
parentba90b1541c5c0510dd634df6fb7deae8a48fdf22 (diff)
downloadnixrc-df683f6042fa4ce14367c6a0b810ab29f1a2ae9e.tar.gz
nixrc-df683f6042fa4ce14367c6a0b810ab29f1a2ae9e.zip
feat(nixos/kanata): use new expose syntax
Diffstat (limited to 'nixos')
-rw-r--r--nixos/kanata/configuration.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index d7041fd..f90b9ef 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -149,14 +149,16 @@ in
       enable = true;
 
       routes = {
-        "dns.kusanari.network" = "http://localhost:4000";
-        "metrics.kusanari.network" = "http://localhost:4001";
-        "nitter.kusanari.network" = "http://localhost:4002";
-        "invidious.kusanari.network" = "http://localhost:4003";
+        "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";
 
         # Nginx pre-configured routes
-        # NOTE: Routes with port 80 or 443 will NOT create corresponding nginx virtualHosts.
-        "nextcloud.kusanari.network" = "http://localhost:80";
+        "nextcloud.kusanari.network" = {
+          to = "https://localhost:443";
+          configureNginx = false;
+        };
       };
 
       ssl = {