syncthing setup
This commit is contained in:
parent
24df8a251b
commit
52c074f973
19 changed files with 244 additions and 16 deletions
|
|
@ -1,6 +1,19 @@
|
|||
{ ... }:
|
||||
let
|
||||
guiAddress = "127.0.0.1:8384";
|
||||
in
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = false; # TODO
|
||||
enable = true;
|
||||
inherit guiAddress;
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
privateVirtualHosts."syncthing.roam.lan" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://${guiAddress}/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue