diff options
author | Naïm Favier <n@monade.li> | 2021-07-28 11:14:09 +0200 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2021-07-28 11:30:30 +0200 |
commit | e9b01c5c8e8ca311685fe91d28c663f5c8e6c7a9 (patch) | |
tree | a60474ea11b4b678602150215bd3e6288c9e8397 /nixos/tests/syncthing-init.nix | |
parent | a66d9f9b000f7ddf07d0a5ed1d729a1f36c179c6 (diff) |
nixos/syncthing: move declarative options to the top level
Diffstat (limited to 'nixos/tests/syncthing-init.nix')
-rw-r--r-- | nixos/tests/syncthing-init.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix index f359f0af1c227..8b60ad7faf090 100644 --- a/nixos/tests/syncthing-init.nix +++ b/nixos/tests/syncthing-init.nix @@ -9,16 +9,14 @@ in { machine = { services.syncthing = { enable = true; - declarative = { - devices.testDevice = { - id = testId; - }; - folders.testFolder = { - path = "/tmp/test"; - devices = [ "testDevice" ]; - }; - extraOptions.gui.user = "guiUser"; + devices.testDevice = { + id = testId; }; + folders.testFolder = { + path = "/tmp/test"; + devices = [ "testDevice" ]; + }; + extraOptions.gui.user = "guiUser"; }; }; |