From b3b9a4dc968285d1b188c520b782a236c872e40e Mon Sep 17 00:00:00 2001 From: blake Date: Sun, 5 Oct 2025 14:52:33 -0500 Subject: [PATCH] 59 current 2025-10-05 14:51:59 25.05.20251001.5b5be50 6.12.49 * --- flake.nix | 2 +- modules/system/syncthing.nix | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index 2804e87..9367372 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 58 current 2025-10-05 14:46:22 25.05.20251001.5b5be50 6.12.49 * +# generation: 59 current 2025-10-05 14:51:59 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/system/syncthing.nix b/modules/system/syncthing.nix index ba472b2..f0b03c4 100644 --- a/modules/system/syncthing.nix +++ b/modules/system/syncthing.nix @@ -20,14 +20,6 @@ in else "/home/blake/.local/state/syncthing"; description = "optional override for syncthing data directory."; }; - - config_dir = lib.mkOption { - type = lib.types.str; - default = if cfg.mode == "server" - then "/var/lib/syncthing/.stconfig" - else "/home/blake/.config/syncthing"; - description = "optional override for syncthing config directory."; - }; }; config = lib.mkIf cfg.enable { @@ -35,10 +27,7 @@ in enable = true; user = "root"; group = "blake"; - #dataDir = "/home/blake/.local/state/syncthing"; - #configDir = "/home/blake/.local/state/syncthing"; dataDir = cfg.data_dir; - configDir = cfg.config_dir; guiAddress = "0.0.0.0:2222"; openDefaultPorts = true; };