summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-01-26 16:15:35 +0100
committerlassulus <git@lassul.us>2023-01-26 16:15:35 +0100
commitab06eab6af32e794882687a25746a35a66ef481d (patch)
treea9bfa91b7ee54da6832c49cd396cee310c71c77f /lass/2configs
parent2b01c332826d2d59b7fdbf4a7924e827338920f9 (diff)
l ubik.r: init on neoprism.r
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/ubik-host.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/lass/2configs/ubik-host.nix b/lass/2configs/ubik-host.nix
new file mode 100644
index 000000000..874d4ecb8
--- /dev/null
+++ b/lass/2configs/ubik-host.nix
@@ -0,0 +1,26 @@
+{ config, pkgs, ... }:
+{
+ lass.sync-containers3.containers.ubik = {
+ sshKey = "${toString <secrets>}/ubik.sync.key";
+ };
+ containers.ubik.bindMounts."/var/lib" = {
+ hostPath = "/var/lib/sync-containers3/ubik/state";
+ isReadOnly = false;
+ };
+ containers.ubik.bindMounts."/var/lib/nextcloud/data" = {
+ hostPath = "/var/ubik";
+ isReadOnly = false;
+ };
+ services.nginx.virtualHosts."c.apanowicz.de" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/" = {
+ recommendedProxySettings = true;
+ proxyWebsockets = true;
+ proxyPass = "http://ubik.r";
+ extraConfig = ''
+ client_max_body_size 9001M;
+ '';
+ };
+ };
+}