nixos/installer: Customise ISO a bit

This commit is contained in:
Jack O'Sullivan 2022-06-12 20:47:28 +01:00
parent ed7679c96a
commit 8b807caf5a
3 changed files with 12 additions and 1 deletions

View File

@ -61,7 +61,7 @@
installer = {
backend = {
driver = "file";
filename = "${systems.installer.configuration.config.my.buildAs.iso}/iso/nixos.iso";
filename = "${systems.installer.configuration.config.my.buildAs.iso}/iso/nixos-installer-devplayer0.iso";
read-only = "on";
};
format.driver = "raw";

View File

@ -30,6 +30,12 @@
server.enable = true;
};
isoImage = {
isoBaseName = "nixos-installer-devplayer0";
edition = "devplayer0";
appendToMenuLabel = " /dev/player0 Installer";
};
environment.sessionVariables = {
INSTALL_ROOT = installRoot;
};

View File

@ -76,6 +76,11 @@ in
memorySize = dummyOption;
qemu.options = dummyOption;
};
isoImage = {
isoBaseName = dummyOption;
edition = dummyOption;
appendToMenuLabel = dummyOption;
};
};
config = {