summaryrefslogtreecommitdiffstats
path: root/lass/2configs/orange-host.nix
blob: 6d82d8cc9059e3070707a75234c6ca8a10e8dcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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";
    };
  };
}