stockholm/lass/2configs/orange-host.nix
2023-09-03 12:09:18 +02:00

20 lines
510 B
Nix

{ config, pkgs, ... }:
{
krebs.sync-containers3.containers.orange = {
sshKey = "${toString <secrets>}/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";
};
};
}