nixos/config: add slim module from nuschtos

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-12 13:26:42 +03:00
parent f39a105caf
commit 002b06bb91
3 changed files with 24 additions and 0 deletions

View File

@ -11,6 +11,7 @@ in {
imports = [ imports = [
./boot ./boot
./hardware ./hardware
./misc
./networking ./networking
./nix ./nix
./security ./security

View File

@ -0,0 +1,3 @@
{
imports = [./slim.nix];
}

View File

@ -0,0 +1,20 @@
{
# taken from https://github.com/NuschtOS/nixos-modules/blob/main/modules/slim.nix
documentation = {
# html docs and info are not required, man pages are enough
doc.enable = false;
info.enable = false;
};
# environment.defaultPackages = lib.mkForce [];
# programs.thunderbird.package = pkgs.thunderbird.override {cfg.speechSynthesisSupport = false;};
# during testing only 550K-650K of the tmpfs where used
security.wrapperDirSize = "10M";
services = {
orca.enable = false; # requires speechd
speechd.enable = false; # voice files are big and fat
};
}