nix-config/configs/nixos/syncthing.nix

21 lines
391 B
Nix
Raw Permalink Normal View History

{
config,
pkgs,
inputs,
configLib,
lib,
...
}: {
services.syncthing = {
enable = true;
user = config.host.user;
group = "users";
overrideDevices = false;
overrideFolders = false;
openDefaultPorts = true;
systemService = true;
2024-10-21 16:06:30 +02:00
dataDir = "/home/${config.host.user}/Sync";
configDir = "/home/${config.host.user}/.local/state/syncthing";
};
}