19 lines
618 B
Nix
19 lines
618 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";
|
|
# boot.kernelPatches = [{
|
|
# name = "foo";
|
|
# patch = null;
|
|
# extraStructuredConfig = {
|
|
# VIRTIO = lib.kernel.yes;
|
|
# VIRTIO_BLK = lib.kernel.yes;
|
|
# };
|
|
# }];
|
|
}
|