From 21b6215dee8456b9c09fded2461cd8b740f74b4d Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sat, 3 Feb 2024 16:19:51 +0100 Subject: [PATCH] Bump intray --- flake.lock | 6 +++--- hosts/nixos/lapetus/services/intray.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 7979d15..67b12b3 100644 --- a/flake.lock +++ b/flake.lock @@ -1485,11 +1485,11 @@ "yesod-static-remote": "yesod-static-remote" }, "locked": { - "lastModified": 1706971021, - "narHash": "sha256-XFGdsWH2+bz/juhQgGl+FHR5NejVY6FXYpaS/KoQwnM=", + "lastModified": 1706973531, + "narHash": "sha256-GvJlqUF0OXf2llL4HvNa/zosPRpizVHG2KxuKG7ehEw=", "owner": "Mateiadrielrafael", "repo": "intray", - "rev": "caea9527db34c2b0b04543e83164563e2f44e365", + "rev": "e8b37c624cc3fd92489b761897834bafb5aa2f12", "type": "github" }, "original": { diff --git a/hosts/nixos/lapetus/services/intray.nix b/hosts/nixos/lapetus/services/intray.nix index 325ae52..308469c 100644 --- a/hosts/nixos/lapetus/services/intray.nix +++ b/hosts/nixos/lapetus/services/intray.nix @@ -3,7 +3,6 @@ let username = "prescientmoon"; apiHost = "api.intray.moonythm.dev"; apiPort = 8402; - webHost = "intray.moonythm.dev"; webPort = 8403; in { @@ -15,14 +14,15 @@ in # {{{ Configure intray services.intray.production = { enable = true; - openFirewall = false; api-server = { enable = true; + openFirewall = false; port = apiPort; admins = [ username ]; }; web-server = { enable = true; + openFirewall = false; port = webPort; api-url = "https://${apiHost}"; }; @@ -30,7 +30,7 @@ in # }}} # {{{ Networking & storage services.nginx.virtualHosts.${apiHost} = config.satellite.proxy apiPort { }; - services.nginx.virtualHosts.${webHost} = config.satellite.proxy webPort { }; + services.nginx.virtualHosts."intray.moonythm.dev" = config.satellite.proxy webPort { }; environment.persistence."/persist/state".directories = [ "/www/intray/production/data"