2023-08-06 23:03:06 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
services.ankisyncd = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2023-08-07 13:23:33 +02:00
|
|
|
services.caddy = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts."a.jacekpoz.pl".extraConfig = ''
|
|
|
|
reverse_proxy * localhost:27701
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-08-06 23:03:06 +02:00
|
|
|
networking.firewall.allowedTCPPorts = [ 27701 ];
|
|
|
|
networking.firewall.allowedUDPPorts = [ 27701 ];
|
|
|
|
}
|