at 16.09-beta 801 B view raw
1# This module contains the basic configuration for building a NixOS 2# installation CD. 3 4{ config, lib, pkgs, ... }: 5 6with lib; 7 8{ 9 imports = 10 [ ./iso-image.nix 11 12 # Profiles of this basic installation CD. 13 ../../profiles/all-hardware.nix 14 ../../profiles/base.nix 15 ../../profiles/installation-device.nix 16 ]; 17 18 # ISO naming. 19 isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso"; 20 21 isoImage.volumeID = substring 0 11 "NIXOS_ISO"; 22 23 # EFI booting 24 isoImage.makeEfiBootable = true; 25 26 # USB booting 27 isoImage.makeUsbBootable = true; 28 29 # Add Memtest86+ to the CD. 30 boot.loader.grub.memtest86.enable = true; 31 32 # Allow the user to log in as root without a password. 33 users.extraUsers.root.initialHashedPassword = ""; 34}