From fe85ab718abb8d9f9fcc119b54f9c4057aa6c856 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 24 Mar 2024 13:26:26 +0100 Subject: [PATCH] hosts/storage-2: migrate renamed options --- hosts/storage-2/syncthing.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/hosts/storage-2/syncthing.nix b/hosts/storage-2/syncthing.nix index c9feee5..ca23e08 100644 --- a/hosts/storage-2/syncthing.nix +++ b/hosts/storage-2/syncthing.nix @@ -3,18 +3,20 @@ { services.syncthing = { enable = true; - devices = { - ceasium = { id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE"; }; - ev0 = { id = "XLZNAIG-Q5BJYXZ-IJWS3RD-EOETGFI-265U5MH-U4VBEXX-KC6MWPH-B22ROQT"; }; - }; - folders = { - mixcloud = { - path = "/data/mixcloud"; - type = "sendonly"; - devices = [ - "ceasium" - "ev0" - ]; + settings = { + devices = { + ceasium = { id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE"; }; + ev0 = { id = "XLZNAIG-Q5BJYXZ-IJWS3RD-EOETGFI-265U5MH-U4VBEXX-KC6MWPH-B22ROQT"; }; + }; + folders = { + mixcloud = { + path = "/data/mixcloud"; + type = "sendonly"; + devices = [ + "ceasium" + "ev0" + ]; + }; }; }; };