From 64eaba73071fd33f2c824b9d5bc38f3a113eeb90 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 27 Jul 2020 14:15:01 -0700 Subject: [PATCH 1/1] No default path --- modules/syncthing-autoregister.nix | 1 - tests/automatic-enrollment.nix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 ]; -- 2.44.1