dotfiles/nixos/syncthing.nix
2021-06-26 22:15:36 +01:00

10 lines
258 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;
};
}