summaryrefslogtreecommitdiff
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/features/gui/apps/anki.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home-manager/features/gui/apps/anki.nix b/home-manager/features/gui/apps/anki.nix
new file mode 100644
index 0000000..5ae9728
--- /dev/null
+++ b/home-manager/features/gui/apps/anki.nix
@@ -0,0 +1,15 @@
+{
+ 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;
+ };
+ };
+}