feat: declare anki config
This commit is contained in:
@@ -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}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user