From df683f6042fa4ce14367c6a0b810ab29f1a2ae9e Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 10 Feb 2024 07:19:35 +0900 Subject: feat(nixos/kanata): use new expose syntax --- nixos/kanata/configuration.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'nixos') 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 = { -- cgit 1.4.1