You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to customize the GUI NixOS installation CD by adding a bunch of configuration that should be set by default (e.g. enabling sshd, adding ssh keys). It would be cool if it was easier to customize the set-up process to include default configuration.
The text was updated successfully, but these errors were encountered:
bouk
changed the title
Make it easy to generate an ISO with extra configuration
Make it easy to generate an ISO with default NixOS configuration
Feb 14, 2023
Having the ability to add snippets to the generated configuration.nix would be pretty useful for me as well. I was wondering if there is a clear path to move forward with this issue?
A solution that comes to mind would be to simply hardcode in a string at build time (a plain substituteAll would do the trick), which could be exposed to the end user through overrides. Not sure if that is the best way of going about this though, so I figured I'd ask for some feedback :)
Yes, I think something like that would work. Have a seperate configuration.nix file with some placeholders that the installer will replace with the user options. I actually recently did something similar with the Icicle installer
Hi, I want to customize the GUI NixOS installation CD by adding a bunch of configuration that should be set by default (e.g. enabling sshd, adding ssh keys). It would be cool if it was easier to customize the set-up process to include default configuration.
The text was updated successfully, but these errors were encountered: