aboutsummaryrefslogtreecommitdiff
path: root/modules/programs/anki.nix
blob: 52d5b828ff4fe030405cc0fca2e9b1a7d4df239d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  flake.modules.homeManager.anki =
    {
      pkgs,
      ...
    }:
    {
      programs.anki = {
        enable = true;
        style = "native";
        theme = "followSystem";
        profiles."User 1" = {
          sync = {
            autoSync = true;
            syncMedia = true;
            usernameFile = "/run/secrets/anki_username";
            keyFile = "/run/secrets/anki_syncKey";
          };
        };
      };
    };
}