- 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`.
18 lines
307 B
Nix
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;
|
|
};
|
|
}
|