summary refs log tree commit diff
path: root/host/Rory-ovh/services/containers/spacebar/container.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-23 13:27:59 +0100
committerRory& <root@rory.gay>2026-01-23 13:27:59 +0100
commit20b74076898028eeb26e7496c942ae12e464e8cc (patch)
tree2db8dfdaf71e6b1ba19617807b57878386e6fba3 /host/Rory-ovh/services/containers/spacebar/container.nix
downloadSpacebarContainerRepro-master.tar.xz
initial commit HEAD master
Diffstat (limited to 'host/Rory-ovh/services/containers/spacebar/container.nix')
-rw-r--r--host/Rory-ovh/services/containers/spacebar/container.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/host/Rory-ovh/services/containers/spacebar/container.nix b/host/Rory-ovh/services/containers/spacebar/container.nix
new file mode 100644

index 0000000..841a663 --- /dev/null +++ b/host/Rory-ovh/services/containers/spacebar/container.nix
@@ -0,0 +1,35 @@ +{ + spacebar, + ... +}: + +{ + privateNetwork = true; + autoStart = true; + specialArgs = { + inherit spacebar; + }; + config = + { lib, pkgs, ... }: + { + imports = [ + ../shared.nix + ./root.nix + ./services/spacebar.nix + ]; + }; + hostAddress = "192.168.100.1"; + localAddress = "192.168.100.22"; + + #bindMounts."spacebar-storage" = { + # hostPath = "/data/dedicated/spacebar-storage"; + # mountPoint = "/storage"; + # isReadOnly = false; + #}; + + #bindMounts."spacebar-secrets" = { + # hostPath = "/data/secrets/spacebar"; + # mountPoint = "/run/secrets/spacebar"; + # isReadOnly = true; + #}; +}