15 lines
279 B
Nix
15 lines
279 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.syncthing = {
|
|
enable = true;
|
|
user = "anish";
|
|
group = "users";
|
|
dataDir = "/home/anish/";
|
|
configDir = "/home/anish/.config/syncthing";
|
|
guiAddress = "0.0.0.0:8384";
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
|
|
}
|