From 3b5a73c436eb22e0cda59469263490705e149cb9 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 9 Jan 2026 16:57:15 +0100 Subject: refactor: use flake-parts, change modules structure --- modules/home/productivity/anki/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/home/productivity/anki/default.nix (limited to 'modules/home/productivity/anki/default.nix') diff --git a/modules/home/productivity/anki/default.nix b/modules/home/productivity/anki/default.nix new file mode 100644 index 0000000..84b1655 --- /dev/null +++ b/modules/home/productivity/anki/default.nix @@ -0,0 +1,24 @@ +{ + config, + lib, + ... +}: +let + cfg = config.nx.productivity.anki; + inherit (lib) mkEnableOption mkIf; +in +{ + options.nx.productivity.anki = { + enable = mkEnableOption "Anki free and open-source flashcard program"; + }; + config = mkIf cfg.enable { + programs.anki = { + enable = true; + #style = "native"; + #addons = with pkgs.ankiAddons; [ + # anki-connect + # review-heatmap + #]; + }; + }; +} -- cgit v1.3.1