stuff
This commit is contained in:
parent
2828cef769
commit
a83edc4042
11 changed files with 73 additions and 149 deletions
|
@ -1,16 +0,0 @@
|
|||
# TODO: unify syncthing.nix files
|
||||
let
|
||||
guiPort = 8384;
|
||||
in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
systemService = true;
|
||||
openDefaultPorts = true;
|
||||
guiAddress = let
|
||||
host = "0.0.0.0";
|
||||
port = builtins.toString guiPort;
|
||||
in "${host}:${port}";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [guiPort];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue