From e57e8cdfe59e1407ad73c192bd9f7f2b0b5005b5 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Thu, 8 Jan 2026 16:05:52 +0100 Subject: refactor(desktop): conditionally import modules based on useHomeManager --- modules/users/productivity/anki/default.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'modules/users/productivity/anki') diff --git a/modules/users/productivity/anki/default.nix b/modules/users/productivity/anki/default.nix index efe4ab5..58d8f49 100644 --- a/modules/users/productivity/anki/default.nix +++ b/modules/users/productivity/anki/default.nix @@ -1,6 +1,5 @@ { config, - options, lib, ... }: @@ -17,14 +16,13 @@ in }; }; config = mkIf cfg.enable { - # Marked as broken - #home-manager.users.${username}.programs.anki = { - #enable = true; - #style = "native"; - #addons = with pkgs.ankiAddons; [ - # anki-connect - # review-heatmap - #]; - #}; + programs.anki = { + enable = true; + #style = "native"; + #addons = with pkgs.ankiAddons; [ + # anki-connect + # review-heatmap + #]; + }; }; } -- cgit v1.3.1