1
Fork 0

Bump intray

This commit is contained in:
Matei Adriel 2024-02-03 16:19:51 +01:00
parent 995359e380
commit 21b6215dee
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -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": {

View file

@ -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"