feat: declare anki config

This commit is contained in:
2025-12-14 22:44:45 +01:00
parent b8b7f6bce7
commit f8bac5414b
4 changed files with 35 additions and 19 deletions

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}";
};
};
}