From dd5a794c42dda60b390a1ad67a8c36cf1c27545e Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 20 Aug 2020 13:20:52 +0200 Subject: machines/legosi: activate syncthing & connect mushu --- machines/profpatsch/legosi.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 3278f240..3bce4ebb 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -105,5 +105,26 @@ in { }; }; + services.syncthing = { + enable = true; + openDefaultPorts = true; + declarative = { + devices = { + mushu = { + name = "mushu"; + id = "B5H23ZS-NANQF55-2TW7V4F-22I7B34-7OIZ3ND-PHWL6JP-IIEVBBK-32RKWQR"; + }; + }; + + folders.mushu-data = { + id = "so6nv-oq5wu"; + path = "/sync/mushu-data"; + type = "receiveonly"; + watch = false; + devices = [ "mushu" ]; + }; + }; + }; + }; } -- cgit 1.4.1