]> git.scottworley.com Git - syncthing-autoregister/blobdiff - tests/automatic-enrollment.nix
Enable option for auto-registration
[syncthing-autoregister] / tests / automatic-enrollment.nix
index cac1b28ba83956bea3ea77f67fbe355ea4b81411..9577510d0a1eab9201379f2cec86043cf6bd3971 100644 (file)
@@ -9,6 +9,9 @@ import <nixpkgs/nixos/tests/make-test-python.nix> ({ pkgs, lib, ... }:
         services.syncthing = {
           enable = true;
           openDefaultPorts = true;
+          autoRegister = {
+            enable = true;
+          };
         };
         environment.systemPackages = with pkgs; [ nix ];
       }