From 89328a48aaa7ccdd411786c60831d43d9feba2ad Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 3 Sep 2023 12:09:18 +0200 Subject: l orange: add bindmount for /var/lib --- lass/2configs/orange-host.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lass/2configs/orange-host.nix') diff --git a/lass/2configs/orange-host.nix b/lass/2configs/orange-host.nix index e4bfcff89..6d82d8cc9 100644 --- a/lass/2configs/orange-host.nix +++ b/lass/2configs/orange-host.nix @@ -3,6 +3,10 @@ krebs.sync-containers3.containers.orange = { sshKey = "${toString }/orange.sync.key"; }; + containers.orange.bindMounts."/var/lib" = { + hostPath = "/var/lib/sync-containers3/orange/state"; + isReadOnly = false; + }; services.nginx.virtualHosts."lassul.us" = { # enableACME = config.security; # forceSSL = true; -- cgit v1.2.3 From f55307fd73af235069744dd5155fda0bc73fe613 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/2configs/orange-host.nix | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lass/2configs/orange-host.nix (limited to 'lass/2configs/orange-host.nix') diff --git a/lass/2configs/orange-host.nix b/lass/2configs/orange-host.nix deleted file mode 100644 index 6d82d8cc9..000000000 --- a/lass/2configs/orange-host.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, ... }: -{ - krebs.sync-containers3.containers.orange = { - sshKey = "${toString }/orange.sync.key"; - }; - containers.orange.bindMounts."/var/lib" = { - hostPath = "/var/lib/sync-containers3/orange/state"; - isReadOnly = false; - }; - services.nginx.virtualHosts."lassul.us" = { - # enableACME = config.security; - # forceSSL = true; - locations."/" = { - recommendedProxySettings = true; - proxyWebsockets = true; - proxyPass = "http://orange.r"; - }; - }; -} -- cgit v1.2.3