diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2023-12-01 21:17:21 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2023-12-01 21:21:35 +0900 |
commit | 8a2c07ba4051260104a9d4163b517d695a42b229 (patch) | |
tree | af5a9b0f5fd305d6c7bb61e22e7c15221b83183e | |
parent | 52d7a036b840ad86af74d191510e0a72311ac41a (diff) | |
download | nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar.gz nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar.bz2 nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar.lz nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar.xz nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.tar.zst nixlib-8a2c07ba4051260104a9d4163b517d695a42b229.zip |
ankisyncd: mark module as deprecated
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2405.section.md | 1 | ||||
-rw-r--r-- | nixos/modules/services/misc/ankisyncd.nix | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 749ebc5cb13b..f99b20094942 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -17,6 +17,7 @@ In addition to numerous new and upgraded packages, this release has the followin - [maubot](https://github.com/maubot/maubot), a plugin-based Matrix bot framework. Available as [services.maubot](#opt-services.maubot.enable). - [Anki Sync Server](https://docs.ankiweb.net/sync-server.html), the official sync server built into recent versions of Anki. Available as [services.anki-sync-server](#opt-services.anki-sync-server.enable). +The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been marked deprecated and will be dropped after 24.05 due to lack of maintenance of the anki-sync-server softwares. ## Backward Incompatibilities {#sec-release-24.05-incompatibilities} diff --git a/nixos/modules/services/misc/ankisyncd.nix b/nixos/modules/services/misc/ankisyncd.nix index e4de46e19a8f..f5acfbb0ee96 100644 --- a/nixos/modules/services/misc/ankisyncd.nix +++ b/nixos/modules/services/misc/ankisyncd.nix @@ -46,6 +46,12 @@ in }; config = mkIf cfg.enable { + warnings = [ + '' + `services.ankisyncd` has been replaced by `services.anki-sync-server` and will be removed after + 24.05 because anki-sync-server(-rs and python) are not maintained. + '' + ]; networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; systemd.services.ankisyncd = { |