2023-10-09 11:40:25 +01:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
2023-10-26 17:56:47 +01:00
|
|
|
|
|
|
|
{
|
2023-10-26 17:22:47 +01:00
|
|
|
imports = [ ../traefik/syncthing.nix ];
|
2023-10-26 16:49:11 +01:00
|
|
|
services.syncthing = {
|
2023-05-06 15:24:31 +01:00
|
|
|
enable = true;
|
|
|
|
systemService = true;
|
2023-10-26 17:15:51 +01:00
|
|
|
overrideDevices = false;
|
2023-10-26 19:56:43 +01:00
|
|
|
overrideFolders = false;
|
2023-05-06 15:24:31 +01:00
|
|
|
openDefaultPorts = true;
|
2023-10-26 17:22:47 +01:00
|
|
|
settings.folders = {
|
|
|
|
"Documents" = {
|
|
|
|
id = "gvggx-6telk";
|
|
|
|
path = "~/Documents";
|
|
|
|
ignorePerms = true;
|
2023-06-27 09:54:15 +01:00
|
|
|
};
|
2023-10-26 17:22:47 +01:00
|
|
|
"Music" = {
|
|
|
|
id = "munzw-vnxhl";
|
|
|
|
path = "~/Music";
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
2023-05-06 15:24:31 +01:00
|
|
|
};
|
|
|
|
}
|