dotfiles/nixos/syncthing.nix
Cyryl Płotnicki 3d6dd759c4 nixfmt
2022-03-10 12:25:23 +00:00

10 lines
264 B
Nix

{ config, pkgs, inputs, ... }: {
services.syncthing = {
enable = true;
user = "cyryl";
dataDir = "/home/cyryl/.syncthing";
openDefaultPorts = true;
package =
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
};
}