From d5acca94407abb2d399fed258d46b378749ef13f Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Thu, 13 Mar 2025 20:53:30 +0000
Subject: [PATCH] Remove syncthing configuration

---
 nix/home/opdavies/hosts/PW05CH3L.nix       |  1 -
 nix/home/opdavies/hosts/lemp11.nix         |  1 -
 nix/home/opdavies/hosts/nixedo.nix         |  1 -
 nix/home/opdavies/hosts/t490.nix           |  1 -
 nix/hosts/PW05CH3L/configuration.nix       |  2 --
 nix/modules/home-manager/cli/default.nix   |  1 -
 nix/modules/home-manager/cli/syncthing.nix | 14 --------------
 7 files changed, 21 deletions(-)
 delete mode 100644 nix/modules/home-manager/cli/syncthing.nix

diff --git a/nix/home/opdavies/hosts/PW05CH3L.nix b/nix/home/opdavies/hosts/PW05CH3L.nix
index 7650c35c..ea1adc9b 100644
--- a/nix/home/opdavies/hosts/PW05CH3L.nix
+++ b/nix/home/opdavies/hosts/PW05CH3L.nix
@@ -8,7 +8,6 @@
       directory = "$HOME/Documents/wiki/tfw-notes";
     };
 
-    syncthing.enable = true;
     tmux.enable = true;
     tmux-sessionizer.enable = true;
   };
diff --git a/nix/home/opdavies/hosts/lemp11.nix b/nix/home/opdavies/hosts/lemp11.nix
index d8d1a1e0..d16492d8 100644
--- a/nix/home/opdavies/hosts/lemp11.nix
+++ b/nix/home/opdavies/hosts/lemp11.nix
@@ -14,7 +14,6 @@
     mpv.enable = true;
     pocket-casts.enable = true;
     slack.enable = true;
-    syncthing.enable = true;
     tmux-sessionizer.enable = true;
     zoom.enable = true;
   };
diff --git a/nix/home/opdavies/hosts/nixedo.nix b/nix/home/opdavies/hosts/nixedo.nix
index ce6ee60e..1b4871f7 100644
--- a/nix/home/opdavies/hosts/nixedo.nix
+++ b/nix/home/opdavies/hosts/nixedo.nix
@@ -4,6 +4,5 @@
   homeManagerModules = {
     direnv.enable = true;
     dwm.enable = true;
-    syncthing.enable = true;
   };
 }
diff --git a/nix/home/opdavies/hosts/t490.nix b/nix/home/opdavies/hosts/t490.nix
index baaba985..e41cb8ba 100644
--- a/nix/home/opdavies/hosts/t490.nix
+++ b/nix/home/opdavies/hosts/t490.nix
@@ -24,7 +24,6 @@
 
     pocket-casts.enable = true;
     slack.enable = true;
-    syncthing.enable = true;
     tmux.enable = true;
     tmux-sessionizer.enable = true;
     zoom.enable = true;
diff --git a/nix/hosts/PW05CH3L/configuration.nix b/nix/hosts/PW05CH3L/configuration.nix
index af63b0f2..ffea18f8 100644
--- a/nix/hosts/PW05CH3L/configuration.nix
+++ b/nix/hosts/PW05CH3L/configuration.nix
@@ -24,7 +24,5 @@
     defaultUser = username;
   };
 
-  services.syncthing.enable = true;
-
   nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
 }
diff --git a/nix/modules/home-manager/cli/default.nix b/nix/modules/home-manager/cli/default.nix
index c0c7e06e..badabd99 100644
--- a/nix/modules/home-manager/cli/default.nix
+++ b/nix/modules/home-manager/cli/default.nix
@@ -11,7 +11,6 @@
     ./notes.nix
     ./phpactor.nix
     ./starship.nix
-    ./syncthing.nix
     ./tmux.nix
     ./tmux-sessionizer.nix
     ./zsh.nix
diff --git a/nix/modules/home-manager/cli/syncthing.nix b/nix/modules/home-manager/cli/syncthing.nix
deleted file mode 100644
index 0f14482e..00000000
--- a/nix/modules/home-manager/cli/syncthing.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ config, lib, ... }:
-
-with lib;
-
-let
-  cfg = config.homeManagerModules.syncthing;
-in
-{
-  options.homeManagerModules.syncthing.enable = mkEnableOption "Enable syncthing";
-
-  config = mkIf cfg.enable {
-    services.syncthing.enable = true;
-  };
-}