8 cfg = config.services.speechd;
17 options.services.speechd = {
18 # FIXME: figure out how to deprecate this EXTREMELY CAREFULLY
19 # default guessed conservatively in ../misc/graphical-desktop.nix
20 enable = mkEnableOption "speech-dispatcher speech synthesizer daemon";
21 package = mkPackageOption pkgs "speechd" { };
24 # FIXME: speechd 0.12 (or whatever the next version is)
25 # will support socket activation, so switch to that once it's out.
26 config = mkIf cfg.enable {
28 systemPackages = [ cfg.package ];
29 sessionVariables.SPEECHD_CMD = getExe cfg.package;