From f12f3d9e397f65af99249337ac4dbb8fc1e29e58 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 8 Dec 2025 18:32:47 +0100 Subject: [PATCH] minor fix of syncthing module --- hosts/nixos/vps/home.nix | 6 ------ modules/syncthing.nix | 8 +++----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/hosts/nixos/vps/home.nix b/hosts/nixos/vps/home.nix index 577e17b..bdd9801 100644 --- a/hosts/nixos/vps/home.nix +++ b/hosts/nixos/vps/home.nix @@ -3,11 +3,5 @@ { imports = [ ../home-default.nix - ../../../modules/syncthing.nix ]; - - syncthing-custom = { - enabledFolders = [ "Credentials" ]; - enableGui = false; - }; } diff --git a/modules/syncthing.nix b/modules/syncthing.nix index 49e3c45..d7d5113 100644 --- a/modules/syncthing.nix +++ b/modules/syncthing.nix @@ -24,8 +24,7 @@ let # Device groupings pcDevices = [ "macbook" "imac" "hs" "thinkpad" ]; touchDevices = [ "iphone" "ipad" ]; - cloudDevices = [ "vps" ]; - allDevices = pcDevices ++ touchDevices ++ cloudDevices; + allDevices = pcDevices ++ touchDevices; # Common versioning configuration commonVersioning = { @@ -85,9 +84,6 @@ in "imac" = { id = "2ST6EEF-KN3R2E6-PN64WAS-XGJ22NV-BAWAQX6-OCZLYE3-V5IM2SE-S22REAA"; }; - "vps" = { - id = "C44TBOW-OP4PMMY-O5P7JCJ-F6RBYES-E7R6YWX-5KA2WWR-CWUDLTC-IB3VQAF"; - }; }; # Define shared folders (only enabled ones) @@ -121,7 +117,9 @@ in gui = { enabled = cfg.enableGui; user = "yanlin"; + password = ""; useTLS = false; + insecureSkipHostcheck = true; }; # Additional settings