From 19cd84e81d4cbfc56cf5cb6ddddbe0328bfed013 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 31 Aug 2025 19:37:49 +0200 Subject: [PATCH] Services/StateSpaces: Add statespaces service --- system/services/statespaces.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 system/services/statespaces.nix 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" + ]; + }; + }; +}