From a39fd43b74534e9e8bbe72228dfc116e21275240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 27 Jan 2023 21:11:15 +0000 Subject: [PATCH] update foundry --- nixos/boxes/vpsfree1/FoundryVTT-10.288.zip | 3 -- nixos/boxes/vpsfree1/FoundryVTT-10.291.zip | 3 ++ nixos/boxes/vpsfree1/foundryvtt.nix | 41 ++-------------------- 3 files changed, 6 insertions(+), 41 deletions(-) delete mode 100644 nixos/boxes/vpsfree1/FoundryVTT-10.288.zip create mode 100644 nixos/boxes/vpsfree1/FoundryVTT-10.291.zip diff --git a/nixos/boxes/vpsfree1/FoundryVTT-10.288.zip b/nixos/boxes/vpsfree1/FoundryVTT-10.288.zip deleted file mode 100644 index 2a972ffa..00000000 --- a/nixos/boxes/vpsfree1/FoundryVTT-10.288.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfe67763205be1c07993d17cb793c81aac0eb315c76e70b579334f8dd819a479 -size 200331927 diff --git a/nixos/boxes/vpsfree1/FoundryVTT-10.291.zip b/nixos/boxes/vpsfree1/FoundryVTT-10.291.zip new file mode 100644 index 00000000..6100e923 --- /dev/null +++ b/nixos/boxes/vpsfree1/FoundryVTT-10.291.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ef7c2082f92ad57ade92cf08b28a3323141bb5453f342e27baa227a31963d49 +size 200873934 diff --git a/nixos/boxes/vpsfree1/foundryvtt.nix b/nixos/boxes/vpsfree1/foundryvtt.nix index 22dc7a82..4149003a 100644 --- a/nixos/boxes/vpsfree1/foundryvtt.nix +++ b/nixos/boxes/vpsfree1/foundryvtt.nix @@ -7,9 +7,9 @@ }: let foundryvtt = pkgs.fetchzip { name = "foundryvtt"; - url = "file:///" + ./FoundryVTT-10.290.zip; + url = "file:///" + ./FoundryVTT-10.291.zip; postFetch = ""; - sha256 = "sha256-G4GK76MgDnHsg9dC9Urrww9guJCUTgvMeNzGQ6ez+AQ="; + sha256 = "sha256-DqRKu99xCjzrYalpICD7b0Kf3sqtXaxbL1G2sEgfFDc="; stripRoot = false; }; in { @@ -27,16 +27,6 @@ in { }; }; }; - virtualHosts = { - "foundryvtt-test.peninsula.industries" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://localhost:30001"; - proxyWebsockets = true; - }; - }; - }; }; containers.foundryvtt = { @@ -58,7 +48,7 @@ in { pkgs, ... }: { - system.stateVersion = "22.05"; + system.stateVersion = "22.11"; systemd.services."foundryvtt" = { requires = ["network-online.target"]; wantedBy = ["multi-user.target"]; @@ -70,29 +60,4 @@ in { }; }; }; - containers.foundryvtt-test = { - autoStart = true; - forwardPorts = [ - { - containerPort = 30001; - hostPort = 30001; - } - ]; - config = { - config, - pkgs, - ... - }: { - system.stateVersion = "22.05"; - systemd.services."foundryvtt" = { - requires = ["network-online.target"]; - wantedBy = ["multi-user.target"]; - script = '' - mkdir -p /var/lib/foundryvtt - ${pkgs.nodejs-18_x}/bin/node ${foundryvtt}/resources/app/main.js --dataPath=/var/lib/foundryvtt --port=30001 - ''; - serviceConfig.Restart = "always"; - }; - }; - }; }