Skip to content

An example of how to create a custom NixOS installer leveraging the power of ssh and kexec

License

Notifications You must be signed in to change notification settings

shuntingyard/ex-nixos-live-iso

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ex-nixos-live-iso (forked)

An example of how to build a customized NixOS installer that can run on any machine with root access thanks to the power of ssh and kexec.

Build ... with:

$ nix run nixpkgs#just

to see what can be built. But have a look inside the flake too.

All formats built will be in ./result/

Goals of this Fork

  • Reduce output size (trading Calamares' comfort for size)
  • Build installer in a variety of formats.
  • Build kexec-bundle in order to apply a customized installer anywhere.

From the Original Repo

An example of how to create a custom NixOS live CD/ISO with nix flakes.

If you don't have Nix installed, I recommend using the Determinate Systems Nix installer (reasons given on the website):

https://zero-to-nix.com/concepts/nix-installer

Build the ISO with:

$ nix build .#iso

The resulting ISO will be in ./result/iso/

About

An example of how to create a custom NixOS installer leveraging the power of ssh and kexec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 95.6%
  • Just 3.2%
  • Vim Script 1.2%