blob: be336be16fd4c5672d11d95400ed01edc25d2647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
config,
pkgs,
lib,
...
}: let
cfg = config.features.gui.apps.anki;
in {
options.features.gui.apps.anki.enable = lib.mkEnableOption "anki";
config = lib.mkIf cfg.enable {
programs.anki = {
enable = true;
theme = "dark";
style = "native";
addons = with pkgs.ankiAddons; [
anki-quizlet-importer-extended
];
};
};
}
|