mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-05 12:06:20 +01:00
Vinput's streaming Zipformer models have unbounded dynamic shapes, so OpenVINO cannot compile them for the GPU or the NPU; the `openvino` provider and ai's Intel NPU enablement could never run on the NPU (noted as unverified in WORKAROUNDS WA-017). Remove the backend option, the daemon's OpenVINO library path, and the intel-npu module enable, and update the eval test, README and WORKAROUNDS (drop WA-016 and WA-017). Keep Vinput's stock package and its bundled sherpa-onnx (1.13.4): the fork-based and nixpkgs-master sherpa overrides existed only to provide the `openvino` provider, so drop package.nix with them. Assisted-by: opencode (DeepSeek V4.1 Flash)
15 lines
406 B
Nix
15 lines
406 B
Nix
{
|
|
outputs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = outputs.nixosConfigurations.ai-niri.config;
|
|
hm = cfg.home-manager.users.ryan;
|
|
packageNames = map (package: package.pname or "") hm.i18n.inputMethod.fcitx5.addons;
|
|
in
|
|
{
|
|
enablesLocalAsr = builtins.elem "fcitx5-vinput" packageNames;
|
|
enablesLitePackage = builtins.elem "fcitx5-vinput-lite" packageNames;
|
|
hasVinputDaemon = hm.systemd.user.services ? vinput-daemon;
|
|
}
|