new version of foundry
This commit is contained in:
parent
97c7305396
commit
75ca13ef01
2 changed files with 16 additions and 24 deletions
3
nixos/boxes/vpsfree1/FoundryVTT-11.300.zip
Normal file
3
nixos/boxes/vpsfree1/FoundryVTT-11.300.zip
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bedc8f7070c0c2c5bdad52101884757d459d3dc5852ec46c3886353d940c1e28
|
||||||
|
size 217440507
|
|
@ -1,15 +1,10 @@
|
||||||
{
|
{ config, pkgs, inputs, lib, ... }:
|
||||||
config,
|
let
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
foundryvtt = pkgs.fetchzip {
|
foundryvtt = pkgs.fetchzip {
|
||||||
name = "foundryvtt";
|
name = "foundryvtt";
|
||||||
url = "file:///" + ./FoundryVTT-10.291.zip;
|
url = "file:///" + ./FoundryVTT-11.300.zip;
|
||||||
postFetch = "";
|
postFetch = "";
|
||||||
sha256 = "sha256-DqRKu99xCjzrYalpICD7b0Kf3sqtXaxbL1G2sEgfFDc=";
|
sha256 = "sha256-m6SuykveYUgiJVBThvZIuwYjPuE30YZ4cxOOfyqlHps=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
@ -31,24 +26,18 @@ in {
|
||||||
|
|
||||||
containers.foundryvtt = {
|
containers.foundryvtt = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
forwardPorts = [
|
forwardPorts = [{
|
||||||
{
|
|
||||||
containerPort = 30000;
|
containerPort = 30000;
|
||||||
hostPort = 30000;
|
hostPort = 30000;
|
||||||
}
|
}];
|
||||||
];
|
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/var/lib/foundryvtt" = {
|
"/var/lib/foundryvtt" = {
|
||||||
hostPath = "/var/lib/foundryvtt";
|
hostPath = "/var/lib/foundryvtt";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = { config, pkgs, ... }: {
|
||||||
config,
|
system.stateVersion = "23.05";
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
system.stateVersion = "22.11";
|
|
||||||
systemd.services."foundryvtt" = {
|
systemd.services."foundryvtt" = {
|
||||||
requires = [ "network-online.target" ];
|
requires = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
Loading…
Reference in a new issue