nixos/config: add slim module from nuschtos
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
3
modules/nixos/config/misc/default.nix
Normal file
3
modules/nixos/config/misc/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [./slim.nix];
|
||||
}
|
20
modules/nixos/config/misc/slim.nix
Normal file
20
modules/nixos/config/misc/slim.nix
Normal 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
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user