mirror of
https://github.com/blahai/nyx.git
synced 2025-06-10 23:23:10 -04:00
ISO: stuffies
This commit is contained in:
parent
35e372a025
commit
0863504183
7 changed files with 146 additions and 1 deletions
46
modules/iso/space.nix
Normal file
46
modules/iso/space.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.modules) mkForce mkDefault;
|
||||
in {
|
||||
# disable documentation
|
||||
documentation = {
|
||||
enable = mkDefault false;
|
||||
doc.enable = mkDefault false;
|
||||
info.enable = mkDefault false;
|
||||
};
|
||||
|
||||
# we don't need this, plus it adds extra programs to the iso
|
||||
services = {
|
||||
logrotate.enable = false;
|
||||
udisks2.enable = false;
|
||||
};
|
||||
|
||||
# disable fontConfig
|
||||
fonts.fontconfig.enable = mkForce false;
|
||||
|
||||
# disable containers as it also pulls in pearl
|
||||
boot.enableContainers = false;
|
||||
|
||||
programs = {
|
||||
# disable less as it pulls in pearl
|
||||
less.lessopen = null;
|
||||
|
||||
# disable command-not-found and other similar programs
|
||||
command-not-found.enable = false;
|
||||
};
|
||||
|
||||
# Use environment options, minimal profile
|
||||
environment = {
|
||||
# we don't really need this warning on the minimal profile
|
||||
stub-ld.enable = mkForce false;
|
||||
|
||||
# no packages other, other then the ones I provide
|
||||
defaultPackages = [];
|
||||
};
|
||||
|
||||
xdg = {
|
||||
autostart.enable = false;
|
||||
icons.enable = false;
|
||||
mime.enable = false;
|
||||
sounds.enable = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue