mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
refactor: complete overhaul
This commit is contained in:
parent
fb3e6fed86
commit
0541b3d61f
154 changed files with 936 additions and 904 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue