1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

anki: rename sync.passwordFile, improve documentation

The account password is different from the sync key needed here. Add
instructions for how to get the sync key, and make the option name
accurate.
This commit is contained in:
June Stepp 2025-09-23 10:40:17 -05:00 committed by Austin Horstman
parent f5852ea36c
commit 131f4e22c3
3 changed files with 25 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
let
# This would normally not be a file in the store for security reasons.
testPasswordFile = pkgs.writeText "test-password-file" "password";
testKeyFile = pkgs.writeText "test-key-file" "a-sync-key";
in
{
programs.anki = {
@ -37,7 +37,7 @@ in
networkTimeout = 60;
url = "http://example.com/anki-sync/";
username = "lovelearning@email.com";
passwordFile = testPasswordFile;
keyFile = testKeyFile;
};
};