Update syncthing devices

This commit is contained in:
Evie Litherland-Smith 2023-09-10 21:28:37 +01:00
parent c376cfe986
commit b515145f37

View file

@ -1,5 +1,7 @@
{ lib, user, group, ... }:
let devices = [ "Ion" "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ];
let
devices = [ "Legion" "Monarch" "Northstar" "Ronin" "Vanguard" ];
devicesWithPhone = devices ++ [ "Ion" ];
in {
services.syncthing = {
inherit user group;
@ -42,10 +44,10 @@ in {
ignorePerms = true;
};
"Documents" = {
inherit devices;
id = "qc6qa-bipsd";
path = lib.mkDefault "~/Documents/Sync";
ignorePerms = true;
devices = devicesWithPhone;
};
"Exports" = {
inherit devices;
@ -54,22 +56,22 @@ in {
ignorePerms = true;
};
"Notes" = {
inherit devices;
id = "4ggjz-5dyop";
path = lib.mkDefault "~/Notes";
ignorePerms = true;
devices = devicesWithPhone;
};
"Pictures" = {
inherit devices;
id = "ziuj8-rm6dn";
path = lib.mkDefault "~/Pictures";
ignorePerms = true;
devices = devicesWithPhone;
};
"Zotero" = {
inherit devices;
id = "huyvn-liwc9";
path = lib.mkDefault "~/Documents/Zotero";
ignorePerms = true;
devices = devicesWithPhone;
};
};
};