{ outputs, lib, pkgs, modulesPath, ... }: { imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ]; nixpkgs.hostPlatform = "x86_64-linux"; image.baseName = lib.mkForce "nixos-zfs-installer"; # Keep the live kernel and ZFS in sync with the deployed systems so pools # created by the installer import cleanly on first boot. boot = { kernelPackages = pkgs.linuxPackages_6_18; zfs.package = pkgs.zfs_2_4; supportedFilesystems.zfs = true; }; networking.hostName = "installer"; environment.systemPackages = [ outputs.packages.${pkgs.stdenv.hostPlatform.system}.installer-nixos ]; services.getty.helpLine = '' Run "sudo nixos-installer" to install NixOS onto a ZFS root pool. ''; }