Files
garandos/modules/home/anki.nix
GarandPLG 3e6c55ebcb Update flake.lock dependencies
- Bump revisions and nar hashes for multiple inputs and add the new
  `noctalia-qs` input.
- Change Anki configuration to use a profile‑specific sync username.
- Set Battery widget displayMode to `graphic` instead of `alwaysShow`.
2026-03-03 13:14:16 +01:00

18 lines
307 B
Nix

{
pkgs,
username,
lib,
config,
...
}: {
options.anki.enable = lib.mkEnableOption "Anki";
config.programs.anki = lib.mkIf config.anki.enable {
enable = true;
package = pkgs.anki;
language = "pl_PL";
style = "native";
profiles."${username}".sync.username = username;
};
}