nixos/modules/options/dictation.nix

25 lines
441 B
Nix

{
lib,
...
}:
with lib;
{
options.modules.dictation = {
enable = mkEnableOption {
default = false;
description = "Enable hold-to-talk voice dictation (hold SUPER+T)";
};
model = mkOption {
type = types.enum [
"tiny.en"
"base.en"
"small.en"
];
default = "base.en";
description = ''
The local Whisper model to use for transcription.
'';
};
};
}