feat[client]: add anki module
Some checks failed
Flake check / Check flake (push) Has been cancelled

This commit is contained in:
Leon Schwarzäugl 2025-10-09 02:39:26 +02:00
parent dbe12c8d5e
commit 0287e9d582
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 310 additions and 75 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ lib, config, ... }:
{
options.swarselmodules.anki-tray = lib.mkEnableOption "enable anki applet for tray";
config = lib.mkIf config.swarselmodules.anki-tray {
@ -19,7 +19,11 @@
};
Service = {
ExecStart = "${pkgs.anki-bin}/bin/anki-bin";
# ExecStart = "${lib.getExe config.programs.anki.package}";
ExecStart = "/etc/profiles/per-user/swarsel/bin/anki";
Environment = [
"QT_QPA_PLATFORM=xcb"
];
};
};