nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
2024-01-06 15:52:15 +01:00

25 lines
702 B
Nix

# This module defines a small NixOS installation CD. It does not
# contain any graphical stuff.
{ lib, ... }:
{
imports = [
../../profiles/minimal.nix
./installation-cd-base.nix
];
# Causes a lot of uncached builds for a negligible decrease in size.
environment.noXlibs = lib.mkOverride 500 false;
documentation.man.enable = lib.mkOverride 500 true;
# Although we don't really need HTML documentation in the minimal installer,
# not including it may cause annoying cache misses in the case of the NixOS manual.
documentation.doc.enable = lib.mkOverride 500 true;
fonts.fontconfig.enable = lib.mkOverride 500 false;
isoImage.edition = lib.mkOverride 500 "minimal";
}