diff options
Diffstat (limited to 'home-modules/services/syncthing.nix')
| -rw-r--r-- | home-modules/services/syncthing.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/home-modules/services/syncthing.nix b/home-modules/services/syncthing.nix index 06b94a2..b264433 100644 --- a/home-modules/services/syncthing.nix +++ b/home-modules/services/syncthing.nix @@ -1,7 +1,9 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib ,... }: { - services.syncthing = { - enable = true; + config = lib.mkIf config.homeapps.presets.connectivity.enable { + services.syncthing = { + enable = true; + }; }; } |
