Skip to content

Instantly share code, notes, and snippets.

@JimDennis
Created December 25, 2020 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JimDennis/4071479b89563001374e07b7ba53729a to your computer and use it in GitHub Desktop.
Save JimDennis/4071479b89563001374e07b7ba53729a to your computer and use it in GitHub Desktop.
Suggestions for NixOS developers
Offer nixos-enter after nixos-install as Per https://nixos.wiki/wiki/Change_root
After one has installed NixOS as per the instructions at: https://nixos.org/manual/nixos/stable/index.html#sec-installation
consider prompting the user and offering to perform nixos-enter to chroot into /mnt.
This can allow the new user to explore their new installation before reboot; but it also teaches them how they might later
use the nix-enter command for rescue perposes.
Of course getting value of this is in providing enough information in the prompt to inform the user of the option,
offer them more info, and showing them what it's doing (much as the web page is already doing; but presented there
during the installation.
Also I would love to spin a custom build of NixOS which check the EFI boot device for a digitally signed shell script
and automatically exeutes that after boot. (This would be, effectively, like a boot-to-nuke Kickstart for new systems)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment