3925cf2
1 2 3 4 5 6 7
{lib, config, ...}: { options.syncthing.enable = lib.mkEnableOption "syncthing config"; config = lib.mkIf config.syncthing.enable { services.syncthing.enable = true; }; }