19 lines
367 B
Nix
19 lines
367 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.ankisyncd = {
|
|
enable = true;
|
|
};
|
|
|
|
services.caddy = {
|
|
enable = true;
|
|
virtualHosts."a.jacekpoz.pl".extraConfig = ''
|
|
reverse_proxy * localhost:27701
|
|
'';
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 27701 ];
|
|
networking.firewall.allowedUDPPorts = [ 27701 ];
|
|
}
|