refactor: complete overhaul

This commit is contained in:
Nick 2024-11-10 01:29:37 -06:00
parent fb3e6fed86
commit 0541b3d61f
154 changed files with 936 additions and 904 deletions

View file

@ -1,5 +1,5 @@
{flake, ...}: let
inherit (flake.config.machines.devices) nas phone tablet;
inherit (flake.config.machines.devices) synology phone tablet;
inherit (flake.config.services.instances) syncthing web;
service = syncthing;
localhost = web.localhost.address0;
@ -14,13 +14,13 @@ in {
guiAddress = "${localhost}:${toString service.ports.port0}";
settings = {
devices = {
${nas.name} = {
${synology.name} = {
autoAcceptFolders = true;
name = nas.name;
name = synology.name;
addresses = [
"tcp://${nas.ip.address0}:${toString service.ports.port2}"
"tcp://${synology.ip.address0}:${toString service.ports.port2}"
];
id = nas.sync;
id = synology.sync;
};
${phone.name} = {
autoAcceptFolders = true;