diff --git a/nixos/boxes/vpsfree1/foundryvtt.nix b/nixos/boxes/vpsfree1/foundryvtt.nix index 5a7f42e2..673b4453 100644 --- a/nixos/boxes/vpsfree1/foundryvtt.nix +++ b/nixos/boxes/vpsfree1/foundryvtt.nix @@ -34,25 +34,6 @@ in { }; }; - containers.foundryvtt1 = { - autoStart = true; - forwardPorts = [{ - containerPort = 30001; - hostPort = 30001; - }]; - config = { config, pkgs, ... }: { - 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"; - }; - }; - }; - containers.foundryvtt = { autoStart = true; forwardPorts = [{