feat: declare anki config
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
inherit config;
|
||||
inherit pkgs;
|
||||
})
|
||||
(import ../../modules/anki.nix {
|
||||
inherit config;
|
||||
inherit pkgs;
|
||||
})
|
||||
];
|
||||
|
||||
programs.taskwarrior.config.recurrence = lib.mkForce "on";
|
||||
|
||||
@@ -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