{ config, lib, options, pkgs, inputs, modulesPath, ... }: with lib; let calamares-nixos-autostart = pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; }; calamares-extensions-desk-os = pkgs.callPackage ../../packages/calamares-extensions {}; in { imports = [ ./iso-image.nix (modulesPath + "/profiles/all-hardware.nix") (modulesPath + "/profiles/base.nix") (modulesPath + "/profiles/installation-device.nix") ]; boot = { consoleLogLevel = 0; kernelParams = ["quiet"]; initrd.verbose = false; loader.systemd-boot.enable = true; loader.timeout = lib.mkForce 0; plymouth = { enable = true; theme = "breeze"; }; }; # Adds terminus_font for people with HiDPI displays console.packages = options.console.packages.default ++ [pkgs.terminus_font]; # FIXME(m): Disable squashfs compression during development isoImage.squashfsCompression = null; # ISO naming. isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.iso"; # An installation media cannot tolerate a host config defined file # system layout on a fresh machine, before it has been formatted. swapDevices = mkImageMediaOverride []; fileSystems = mkImageMediaOverride config.lib.isoFileSystems; boot.postBootCommands = '' for o in $(