aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/anki.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/programs/anki.nix b/modules/programs/anki.nix
index 9f21e66..52d5b82 100644
--- a/modules/programs/anki.nix
+++ b/modules/programs/anki.nix
@@ -2,8 +2,6 @@
flake.modules.homeManager.anki =
{
pkgs,
- config,
- osConfig,
...
}:
{
@@ -15,13 +13,10 @@
sync = {
autoSync = true;
syncMedia = true;
- usernameFile = osConfig.sops.secrets.anki_username.path;
- keyFile = osConfig.sops.secrets.anki_syncKey.path;
+ usernameFile = "/run/secrets/anki_username";
+ keyFile = "/run/secrets/anki_syncKey";
};
};
- addons = with pkgs.ankiAddons; [
- review-heatmap
- ];
};
};
}