From a10c1e8f5ad2589414407f4851c221cb66270257 Mon Sep 17 00:00:00 2001 From: sollniss Date: Mon, 26 Jan 2026 22:44:26 +0900 Subject: [PATCH] anki: fix autoSyncMediaMinutes and networkTimeout not being applied --- modules/programs/anki/helper.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/anki/helper.nix b/modules/programs/anki/helper.nix index 6edb8ff8..b82642b3 100644 --- a/modules/programs/anki/helper.nix +++ b/modules/programs/anki/helper.nix @@ -134,11 +134,11 @@ let media_sync_minutes_str: str = "${toString cfg.sync.autoSyncMediaMinutes}" if media_sync_minutes_str: - profile_manager.set_periodic_sync_media_minutes = int(media_sync_minutes_str) + profile_manager.set_periodic_sync_media_minutes(int(media_sync_minutes_str)) network_timeout_str: str = "${toString cfg.sync.networkTimeout}" if network_timeout_str: - profile_manager.set_network_timeout = int(network_timeout_str) + profile_manager.set_network_timeout(int(network_timeout_str)) profile_manager.save() '';