diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-26 15:39:24 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-26 16:00:52 +0200 |
commit | 5d0c04001ee6b83278d808a2e3b1842e1e90abcd (patch) | |
tree | 494325ae9ee5f1a1a99bcb3ee8be99b7ad9ad347 /machines/profpatsch | |
parent | 9660cd45c73cd4755d8c38654031587cc2b7d46d (diff) |
machines/legosi: fix deprecated syncthing module structure
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/legosi.nix | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 3866af73..4a55d63a 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -171,21 +171,19 @@ in { services.syncthing = { enable = true; openDefaultPorts = true; - declarative = { - devices = { - mushu = { - name = "mushu"; - id = "B5H23ZS-NANQF55-2TW7V4F-22I7B34-7OIZ3ND-PHWL6JP-IIEVBBK-32RKWQR"; - }; + 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" ]; - }; + folders.mushu-data = { + id = "so6nv-oq5wu"; + path = "/sync/mushu-data"; + type = "receiveonly"; + watch = false; + devices = [ "mushu" ]; }; }; |