mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
22 lines
487 B
Nix
22 lines
487 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.firefox.syncserver = {
|
|
enable = true;
|
|
listen.port = 5001;
|
|
allowNewUsers = false;
|
|
publicUrl = "https://sync.kittywit.ch";
|
|
};
|
|
|
|
services.nginx.virtualHosts."sync.kittywit.ch" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = { "/".proxyPass = "http://127.0.0.1:5001"; };
|
|
};
|
|
|
|
deploy.tf.dns.records.kittywitch_sync = {
|
|
tld = "kittywit.ch.";
|
|
domain = "sync";
|
|
cname.target = "athame.kittywit.ch.";
|
|
};
|
|
}
|