forked from poz/niksos
nvm brain stopped for a while there
This commit is contained in:
parent
dc4b0c331d
commit
ff7e612077
2 changed files with 0 additions and 25 deletions
|
@ -4,6 +4,5 @@ _: {
|
|||
./configuration.nix
|
||||
./grafana.nix
|
||||
./hardware-configuration.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
}
|
Loading…
Reference in a new issue