Hello,
I’m working on building out a NixOS LiveCD and I’ve gone about that following the wiki directions:
https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
https://nixos.org/manual/nixos/stable/index.html#sec-building-image
I’ve tried various options and I can easily get a live CD - what I’ve been unable to do is modify the Grub Menu.
As far as I can tell I’m including one of the installer.nix options that includes:
So if we include:
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
that in turn calls some .nix
files - one of which will call: iso-image.nix
It is in iso-image.nix
that the grub menu gets defined.
I’d like to remove the options for install and just have a single grub menu option: Boot Live Linux.
Is there a way to do this somehow via an overlay or an override? I know overrides can modify variables - but I don’t think any are exposed - and I am thinking I need an overlay.
Thanks