feat: declare anki config

This commit is contained in:
2026-03-11 21:25:22 +01:00
parent 6b56dfa595
commit 447ccd705e
4 changed files with 35 additions and 19 deletions
+14 -4
View File
@@ -1,6 +1,16 @@
{ config, pkgs, ... }:
{
enable = true;
# sync = {
# username = config.sops.secrets."email/personal".path;
# };
programs.anki = {
enable = true;
addons = with pkgs.ankiAddons; [
anki-connect
puppy-reinforcement
review-heatmap
];
sync = {
usernameFile = "${config.sops.secrets."anki_sync_user".path}";
keyFile = "${config.sops.secrets."anki_sync_key".path}";
};
};
}