nixos/speechd: avoid by default on headless systems#330440
nixos/speechd: avoid by default on headless systems#330440vcunat merged 1 commit intoNixOS:staging-nextfrom
Conversation
|
Feel free to suggest a better magic to guess the default, now or later. |
There was a problem hiding this comment.
How about we move this into graphical-desktop.nix instead of doing guess work here?
Also just noticed the same 😂
There was a problem hiding this comment.
We could do that. I'm not sure which approach is better.
There was a problem hiding this comment.
I've added the generic graphic module and it's purpose is to collect all those things, that you only want to turn on on graphical systems, like this setting.
There was a problem hiding this comment.
OK, moved there and retested.
Incidentally this also fixes tests like nixosTests.installer.simple /cc PR NixOS#329658
d6e2df7 to
1e9b3c1
Compare
|
Let's remove this blocker. Feel free to improve/change later. |
|
The merged version LGTM |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-remove-speech-dispatcher/49957/2 |
|
Is there a reason why NixOS is quite minimal by default, with very few processes running. Setting this option to true results in 4 or 5 new daemons getting spawn when one opens e.g. a web browser. |
|
Because if a person needs a screen reader to use their computer, they can't use their computer to install a screen reader. |
|
OK, fair enough. But I would typically imagine they'd enable this during installation using the live image. |
|
There is currently no such option in the installer. If one was to be added, we could revisit this. |
|
I have collected the necessary options to disable speechd completely and get a smaller installation here https://github.com/NuschtOS/nixos-modules/blob/main/modules/slim.nix |
That's actually a good idea. Right now, NixOS is still quite minimal. There's not that much apart from But, perhaps, if options for the graphical system grow too much, it might be worth considering to offer a slimmer alternative set of defaults, especially for those that only have a WM enabled but no desktop environment. |
Incidentally this also fixes tests like nixosTests.installer.simple /cc PR #329658
Things done
Add a 👍 reaction to pull requests you find important.