nixos/services/syncthing/default.nix

40 lines
832 B
Nix
Raw Normal View History

{ 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;
};
"Org" = {
id = "kztmq-eoqcs";
path = "~/Org";
ignorePerms = true;
};
"Pictures" = {
id = "ziuj8-rm6dn";
path = "~/Pictures";
ignorePerms = true;
};
"Videos" = {
id = "mbsop-qteua";
path = "~/Videos";
ignorePerms = true;
2023-05-09 07:48:19 +01:00
};
};
};
}