nixos/services/syncthing/default.nix
Evie Litherland-Smith 27d4dc83b2 Use emms-source-file-default-directory instead of calling
add-directory-tree

Set syncthing to not override folders
2023-10-26 19:56:43 +01:00

35 lines
727 B
Nix

{ config, lib, pkgs, user, ... }:
{
imports = [ ../traefik/syncthing.nix ];
services.syncthing = {
enable = true;
systemService = true;
overrideDevices = false;
overrideFolders = false;
openDefaultPorts = true;
settings.folders = {
"Documents" = {
id = "gvggx-6telk";
path = "~/Documents";
ignorePerms = true;
};
"Music" = {
id = "munzw-vnxhl";
path = "~/Music";
ignorePerms = true;
};
"Pictures" = {
id = "ziuj8-rm6dn";
path = "~/Pictures";
ignorePerms = true;
};
"Videos" = {
id = "mbsop-qteua";
path = "~/Videos";
ignorePerms = true;
};
};
};
}