28 lines
690 B
Nix
28 lines
690 B
Nix
{
|
|
config,
|
|
inputs,
|
|
modulesPath,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
|
./common/nixos.nix
|
|
];
|
|
# this is an installer image, created anew every time. There's no state we need to worry about messing up
|
|
system.stateVersion = config.system.nixos.version;
|
|
isoImage.isoBaseName = "nixos-shel-installer";
|
|
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
|
|
vacu.hostName = "vacuInstaller";
|
|
vacu.shell.color = "red";
|
|
# boot.kernelPatches = [{
|
|
# name = "foo";
|
|
# patch = null;
|
|
# extraStructuredConfig = {
|
|
# VIRTIO = lib.kernel.yes;
|
|
# VIRTIO_BLK = lib.kernel.yes;
|
|
# };
|
|
# }];
|
|
}
|