diff --git a/system/services/statespaces.nix b/system/services/statespaces.nix new file mode 100644 index 00000000..782e8ac8 --- /dev/null +++ b/system/services/statespaces.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + pkgs, + ... +}: let + statespacesVersion = "latest"; +in { + virtualisation.oci-containers.containers = { + statespaces = { + image = "gitea.vps.chriphost.de/christoph/statespaces:${statespacesVersion}"; + autoStart = true; + + ports = [ + # "8080:8090" + "5173:3111" + ]; + + volumes = []; + + environment = {}; + + extraOptions = [ + "--net=behind-nginx" + ]; + }; + }; +}