mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-28 00:05:00 +08:00
13 lines
346 B
Nix
13 lines
346 B
Nix
{ pkgs, ... }: {
|
|
services = {
|
|
syncthing = {
|
|
enable = true;
|
|
user = "srid";
|
|
dataDir = "/home/srid";
|
|
# We want nodes in the same network to be able to connect directly to one
|
|
# another, without having to go through a third-party relay. So open
|
|
# firewall ports.
|
|
openDefaultPorts = true;
|
|
};
|
|
};
|
|
}
|