Skip to content

Commit

Permalink
Merge #330440: nixos/speechd: avoid by default on headless systems
Browse files Browse the repository at this point in the history
...into staging-next
  • Loading branch information
vcunat committed Jul 28, 2024
2 parents 442b344 + 1e9b3c1 commit ca0d8e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nixos/modules/services/accessibility/speechd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ in
{
options.services.speechd = {
# FIXME: figure out how to deprecate this EXTREMELY CAREFULLY
enable = mkEnableOption "speech-dispatcher speech synthesizer daemon" // {
default = true;
};
# default guessed conservatively in ../misc/graphical-desktop.nix
enable = mkEnableOption "speech-dispatcher speech synthesizer daemon";
package = mkPackageOption pkgs "speechd" { };
};

Expand Down
2 changes: 2 additions & 0 deletions nixos/modules/services/misc/graphical-desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ in

programs.gnupg.agent.pinentryPackage = lib.mkOverride 1100 pkgs.pinentry-gnome3;

services.speechd.enable = lib.mkDefault true;

systemd.defaultUnit = lib.mkIf (xcfg.autorun || dmcfg.enable) "graphical.target";

xdg = {
Expand Down

0 comments on commit ca0d8e5

Please sign in to comment.