{ config, modulesPath, lib, pkgs, ... }: { imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ]; networking.hostName = lib.mkForce "eh22-nixos-installer"; networking.wireless.enable = false; system.installer.channel.enable = true; environment.systemPackages = with pkgs; [ disko ]; # configure our own user account in the installer services.getty.autologinUser = lib.mkForce "noc"; # conflict resolutions services.openssh.settings.PermitRootLogin = lib.mkForce "no"; boot.initrd.systemd.enable = lib.mkForce false; boot.loader.grub.enable = lib.mkForce false; # this is only okay because the installer does not have any persistence so no data can be in an old/incompatible format system.stateVersion = config.system.nixos.release; home-manager.users.noc.home.stateVersion = config.system.stateVersion; }