syncthing: reduced device targets for WireGuard and OpenVPN

This commit is contained in:
Tigor Hutasuhut 2024-07-11 21:42:58 +07:00
parent 28341a31e9
commit 863149d5d2

View file

@ -68,15 +68,14 @@ in
"onyx" "onyx"
]; ];
}; };
"/nas/Syncthing/Sync/VPN" = {
label = "OpenVPN";
id = "OpenVPN";
devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices;
};
"/nas/Syncthing/Sync/WireGuard" = { "/nas/Syncthing/Sync/WireGuard" = {
label = "WireGuard"; label = "WireGuard";
id = "WireGuard"; id = "WireGuard";
devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices; # devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices;
devices = [
"s20fe"
"work-laptop"
];
}; };
"/nas/photos/mama" = { "/nas/photos/mama" = {
label = "Camera Mama"; label = "Camera Mama";