2024-01-30 14:21:50 +00:00
|
|
|
{...}: let
|
|
|
|
devices = ["Ion" "Legion" "Northstar" "Vanguard"];
|
2023-11-02 08:18:05 +00:00
|
|
|
in {
|
2024-01-30 14:21:50 +00:00
|
|
|
imports = [./caddy.nix];
|
2023-10-26 16:49:11 +01:00
|
|
|
services.syncthing = {
|
2023-05-06 15:24:31 +01:00
|
|
|
enable = true;
|
|
|
|
systemService = true;
|
2023-11-02 08:18:05 +00:00
|
|
|
overrideDevices = true;
|
|
|
|
overrideFolders = true;
|
2023-05-06 15:24:31 +01:00
|
|
|
openDefaultPorts = true;
|
2023-11-02 08:18:05 +00:00
|
|
|
settings = {
|
|
|
|
devices = {
|
2024-01-30 14:21:50 +00:00
|
|
|
"Ion".id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB";
|
2024-04-20 17:42:38 +01:00
|
|
|
"Legion".id = "XIJ4CPX-3USDOFM-JLKWEPP-J7MEVKX-LJ6HCCS-YZNHGGC-GDSMZPD-TTVYNAZ";
|
2024-07-13 16:45:50 +01:00
|
|
|
"Northstar".id = "2GDDHJC-MIT5RCN-YR4ZQ4M-VYPP5NJ-UKMQDCN-RCCF7AK-WG5AHXU-4KINIQX";
|
2024-07-13 11:22:59 +01:00
|
|
|
"Vanguard".id = "UT6YVRQ-K6UVH3V-XMAFNO6-TN3QIIN-5GBGPST-QFJJTSJ-SCKBJGP-PQBZVQW";
|
2023-06-27 09:54:15 +01:00
|
|
|
};
|
2023-11-02 08:18:05 +00:00
|
|
|
folders = {
|
|
|
|
"Music" = {
|
2024-04-17 17:48:18 +01:00
|
|
|
inherit devices;
|
2023-11-02 08:18:05 +00:00
|
|
|
id = "munzw-vnxhl";
|
|
|
|
path = "~/Music";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
|
|
|
"Pictures" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "ziuj8-rm6dn";
|
|
|
|
path = "~/Pictures";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
|
|
|
"Videos" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "mbsop-qteua";
|
|
|
|
path = "~/Videos";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
2024-07-27 06:59:55 +01:00
|
|
|
"Models" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "hcvfl-qspqe";
|
|
|
|
path = "~/Models";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
2024-07-13 11:22:59 +01:00
|
|
|
"Documents" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "4bxk7-zkrt2";
|
|
|
|
path = "~/Documents/sync";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
|
|
|
"Books" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "5zaud-r3rtt";
|
|
|
|
path = "~/Documents/books";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
|
|
|
"ROMs" = {
|
|
|
|
inherit devices;
|
|
|
|
id = "xjbwf-b6qgd";
|
|
|
|
path = "~/Games/ROMs";
|
|
|
|
ignorePerms = true;
|
|
|
|
};
|
2023-05-09 07:48:19 +01:00
|
|
|
};
|
|
|
|
};
|
2023-05-06 15:24:31 +01:00
|
|
|
};
|
|
|
|
}
|