niksos/hosts/chmura/ankisyncd.nix
jacekpoz c245c54142 feat(ankisyncd): add ankisyncd
I accidentally added it in 66c0883701
Xddddd
2023-08-07 13:23:33 +02:00

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 ];
}