diff options
Diffstat (limited to 'machines/profpatsch/legosi.nix')
-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" ]; + }; + }; + }; + }; } |