diff options
author | Naïm Favier <n@monade.li> | 2021-07-27 18:15:41 +0200 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2021-07-28 10:56:06 +0200 |
commit | 6416b3a941079e069c76a96d235dedc6d5eb9385 (patch) | |
tree | 7b1bf5ce5e2e070ec52af7d5fd5c0e0b677ff126 /nixos/tests/syncthing-init.nix | |
parent | 6b639470214f721ea3aed1a6136b56ddbffa3df0 (diff) |
nixos/syncthing: add declarative.extraOptions
Allows setting arbitrary config options through the REST API. Also switches to the [new](https://docs.syncthing.net/rest/config.html) config endpoints.
Diffstat (limited to 'nixos/tests/syncthing-init.nix')
-rw-r--r-- | nixos/tests/syncthing-init.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix index 4581e3fd4fbe5..f359f0af1c227 100644 --- a/nixos/tests/syncthing-init.nix +++ b/nixos/tests/syncthing-init.nix @@ -17,6 +17,7 @@ in { path = "/tmp/test"; devices = [ "testDevice" ]; }; + extraOptions.gui.user = "guiUser"; }; }; }; @@ -27,5 +28,6 @@ in { assert "testFolder" in config assert "${testId}" in config + assert "guiUser" in config ''; }) |