From ca0267ce229183671ff4092e2321b1b54bb4d760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 1 Dec 2021 09:47:14 +0100 Subject: [PATCH] fix(tuna): new syncthing syntax --- configs/tuna.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/configs/tuna.nix b/configs/tuna.nix index db6589a..f1df635 100644 --- a/configs/tuna.nix +++ b/configs/tuna.nix @@ -19,17 +19,15 @@ in openDefaultPorts = true; configDir = "${mpd-directory}/.config/syncthing"; dataDir = "${mpd-directory}/.config/syncthing"; - declarative = rec { - cert = toString ; - key = toString ; - devices = { - inherit ((import ).syncthing.devices) kabsa manakish heym; - }; - folders.${config.services.mpd.musicDirectory} = { - devices = [ "heym" "kabsa" "manakish" ]; - id = "music"; - type = "receiveonly"; - }; + cert = toString ; + key = toString ; + devices = { + inherit ((import ).syncthing.devices) kabsa manakish heym; + }; + folders.${config.services.mpd.musicDirectory} = { + devices = [ "heym" "kabsa" "manakish" ]; + id = "music"; + type = "receiveonly"; }; };