diff options
author | Profpatsch <mail@profpatsch.de> | 2020-08-20 13:20:52 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-08-20 14:25:46 +0200 |
commit | dd5a794c42dda60b390a1ad67a8c36cf1c27545e (patch) | |
tree | 5f62f4298d68d0ae5f241e9a75b5aeaba08be613 | |
parent | 1b1e1c43c7bb44e8c7115b34cd1adbf750ebb981 (diff) |
machines/legosi: activate syncthing & connect mushu
-rw-r--r-- | machines/profpatsch/legosi.nix | 21 |
1 files changed, 21 insertions, 0 deletions
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" ]; + }; + }; + }; + }; } |