summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-05-12 00:32:14 +0200
committerAlan Pearce2024-05-12 00:32:14 +0200
commit9fd6c4a4d3ec4f0e4e11b7b3faa0dfbeb6d02705 (patch)
tree0b7fa2bc3a9b41ec4702c73c72aeacca6a0bbfda /system
parent921e9173a9b7b05b15cd4641b63789b5283814fe (diff)
downloadnixfiles-9fd6c4a4d3ec4f0e4e11b7b3faa0dfbeb6d02705.tar.lz
nixfiles-9fd6c4a4d3ec4f0e4e11b7b3faa0dfbeb6d02705.tar.zst
nixfiles-9fd6c4a4d3ec4f0e4e11b7b3faa0dfbeb6d02705.zip
nanopi: fix syncthing folder/device settings being reset
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index d984c9f7..070d4d43 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -666,6 +666,8 @@ in
       hKTYCb7VA/P1dU3tTR1vSQxnu1DsiliD/XcKe2IK
       -----END CERTIFICATE-----
     '');
+    overrideFolders = false;
+    overrideDevices = false;
     settings = {
       options = {
         maxRecvKbps = 10240;
@@ -676,8 +678,6 @@ in
         urAccepted = 4;
         trafficClass = 1;
       };
-      overrideFolders = false;
-      overrideDevices = false;
     };
   };