nix-community / nixos-generators

Collection of image builders [maintainer=@Lassulus]
MIT License
1.82k stars 141 forks source link

Option to generate graphical installer #276

Open keirlawson opened 1 year ago

keirlawson commented 1 year ago

Perhaps there is already a simple way to do this that I am missing, but I'd like to be able to generate a graphical installer ISO from an existing configuration file so that I can then install my desired config on a new machine without needing to learn the cli installer.

quinn-dougherty commented 10 months ago

A custom installer doesn't effect the code generated by running the installer, so this wouldn't improve bootstrapping ergonomics. What I would use would be a way to prefill some of the code the installer generates, most importantly substituters and vim.

Right now my flow for spinning up a new machine (hardware problems so reinstalling a lot lately) isn't ideal, because I have a bunch of stuff to do before I pull my real config from github.

Mic92 commented 10 months ago

Wouldn't this be just using the iso target an include the same nixos installer profiler that is used in NixOS to generate the Gnome-based installer?

ibizaman commented 6 months ago

prefill some of the code the installer generates, most importantly substituters and vim

How could one do that?

EDIT: found this blog post I'm going to try following https://haseebmajid.dev/posts/2024-02-04-how-to-create-a-custom-nixos-iso/