nvm brain stopped for a while there

This commit is contained in:
jacekpoz 2023-07-16 09:26:16 +02:00
parent dc4b0c331d
commit ff7e612077
2 changed files with 0 additions and 25 deletions

View file

@ -4,6 +4,5 @@ _: {
./configuration.nix
./grafana.nix
./hardware-configuration.nix
./syncthing.nix
];
}

View file

@ -1,24 +0,0 @@
{
config,
pkgs,
inputs,
...
}: {
services.syncthing = {
enable = true;
user = "syncthing";
dataDir = "/var/lib/syncthing";
overrideDevices = true;
overrideFolders = true;
};
services.caddy = {
enable = true;
virtualHosts."s.jacekpoz.pl".extraConfig = ''
reverse_proxy * localhost:8384
'';
};
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
}