]> git.scottworley.com Git - syncthing-autoregister/commitdiff
No default path
authorScott Worley <scottworley@scottworley.com>
Mon, 27 Jul 2020 21:15:01 +0000 (14:15 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 27 Jul 2020 21:15:01 +0000 (14:15 -0700)
modules/syncthing-autoregister.nix
tests/automatic-enrollment.nix

index 6276352f67b558773e4349017f694e151e0aa20d..da9df86d1f41e59293af54d9fb525069204ae0ca 100644 (file)
@@ -17,7 +17,6 @@ in {
       '';
       path = mkOption {
         type = types.path;
       '';
       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
         description = ''
           Path of nix module file to write our syncthing
           device id into.  It will be written into
index 9577510d0a1eab9201379f2cec86043cf6bd3971..870e6ee873801927abf0bacb17ac144fe35c3387 100644 (file)
@@ -11,6 +11,7 @@ import <nixpkgs/nixos/tests/make-test-python.nix> ({ pkgs, lib, ... }:
           openDefaultPorts = true;
           autoRegister = {
             enable = true;
           openDefaultPorts = true;
           autoRegister = {
             enable = true;
+            path = "/tmp/syncthing-auto-register-test-device-ids.nix";
           };
         };
         environment.systemPackages = with pkgs; [ nix ];
           };
         };
         environment.systemPackages = with pkgs; [ nix ];