mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
* feat(linux): add wlroots Wayland support and Nix packaging * fix(linux): preserve pending status and verify native coexistence * test(linux): verify real dictation through a virtual microphone * test(linux): bound smoke cleanup and check microphone release * test(linux): isolate installer XDG paths from the host * test(linux): exercise the desktop dictation lifecycle * refactor(linux): simplify worker completion and input snapshots
28 lines
555 B
Nix
28 lines
555 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.programs.hex;
|
|
in
|
|
{
|
|
options.programs.hex = {
|
|
enable = lib.mkEnableOption "HEX local voice dictation";
|
|
package = lib.mkOption {
|
|
type = lib.types.package;
|
|
description = "HEX package to install.";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
assertions = [
|
|
{
|
|
assertion = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
|
|
message = "The HEX Nix package supports x86_64-linux only.";
|
|
}
|
|
];
|
|
environment.systemPackages = [ cfg.package ];
|
|
};
|
|
}
|