In this repository I keep my flake based nixos and home-manager configurations. Next to that, there is a configuration to build live-cds.
Just stand in the root of this repository and run nixos-rebuild.
sudo nixos-rebuild --flake . switch
Home manager is not used as a module and should be ran seperately.
home-manager --flake . switch
Ran from the root of this repo.
nix build .#nixosConfigurations.baseIso.config.system.build.isoImage
After a successful build, the iso can be found in result/iso/
. Use cp to copy the image to for instance an usb thumb drive.
sudo cp result/iso/nixos-minimal-25.05.20250525.7c43f08-x86_64-linux.iso /dev/sdb
Don't forget to replace the destination drive with the proper drive.