feat: removed synology

This commit is contained in:
Nick 2025-10-30 22:30:51 -05:00
parent afd0379585
commit 1f07e76d98
13 changed files with 6 additions and 142 deletions

View file

@ -1,7 +1,6 @@
{ flake, config, ... }:
let
inherit (flake.config.machines.devices)
synology
phone
mars
ceres
@ -19,17 +18,6 @@ let
backupPath = "${service.paths.path1}";
syncDevices = {
synologySync = {
${synology.name} = {
autoAcceptFolders = true;
name = synology.name;
addresses = [
"tcp://${synology.ip.address0}:${toString service.ports.port2}"
];
id = synology.sync.address0;
};
};
phoneSync = {
${phone.name} = {
autoAcceptFolders = true;
@ -52,13 +40,7 @@ in
systemService = true;
guiAddress = "${localhost}:${toString service.ports.port0}";
settings = {
devices =
if hostname == mars.name then
syncDevices.phoneSync // syncDevices.synologySync
else if hostname == ceres.name then
syncDevices.synologySync
else
{ };
devices = if hostname == mars.name then syncDevices.phoneSync else { };
};
};
};