From: Scott Worley Date: Mon, 27 Jul 2020 21:15:01 +0000 (-0700) Subject: No default path X-Git-Url: http://git.scottworley.com/syncthing-autoregister/commitdiff_plain/64eaba73071fd33f2c824b9d5bc38f3a113eeb90 No default path --- diff --git a/modules/syncthing-autoregister.nix b/modules/syncthing-autoregister.nix index 6276352..da9df86 100644 --- a/modules/syncthing-autoregister.nix +++ b/modules/syncthing-autoregister.nix @@ -17,7 +17,6 @@ in { ''; path = mkOption { type = types.path; - default = "/tmp/syncthing-auto-register-test-device-ids.nix"; description = '' Path of nix module file to write our syncthing device id into. It will be written into diff --git a/tests/automatic-enrollment.nix b/tests/automatic-enrollment.nix index 9577510..870e6ee 100644 --- a/tests/automatic-enrollment.nix +++ b/tests/automatic-enrollment.nix @@ -11,6 +11,7 @@ import ({ pkgs, lib, ... }: openDefaultPorts = true; autoRegister = { enable = true; + path = "/tmp/syncthing-auto-register-test-device-ids.nix"; }; }; environment.systemPackages = with pkgs; [ nix ];