From 1597e18d9fdc985270c07acf297772ee7796f526 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 2 Jul 2025 14:51:52 -0400 Subject: [PATCH] Add syncthing --- modules/home/all/syncthing.nix | 20 ++++++++++++++++++++ modules/home/default.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 modules/home/all/syncthing.nix diff --git a/modules/home/all/syncthing.nix b/modules/home/all/syncthing.nix new file mode 100644 index 0000000..79d9588 --- /dev/null +++ b/modules/home/all/syncthing.nix @@ -0,0 +1,20 @@ +{ + services.syncthing = { + enable = true; + + # Optional: Configure settings + settings = { + gui = { + theme = "dark"; + insecureAdminAccess = false; + }; + options = { + urAccepted = -1; # Disable usage reporting + crashReportingEnabled = false; + announceEnabled = true; + localAnnounceEnabled = true; + relaysEnabled = true; + }; + }; + }; +} diff --git a/modules/home/default.nix b/modules/home/default.nix index 9289afb..f396dcd 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -17,5 +17,7 @@ ./all/juspay.nix ./all/_1password.nix + + ./all/syncthing.nix ]; }