noteed.comblognotesnix-notesnot-osvideos

not-os

stage-2

$ nix-build -A stage-2
/nix/store/gxiwrhrh4vk8k5l19nc6qg7wlybhjkqi-stage-2

stage-2 is a script defined as config.system.build.bootStage2. It is the init script found in the rootfs, which is built as a squashfs image from toplevel. See below.



Intro

  • not-os

Notes

  • Digital Ocean
  • TODO

Main attributes

  • runvm
  • kernel
  • initrd
  • rootfs
  • ext4
  • stage-1
  • stage-2
  • dist
  • extra-utils
  • path
  • shrunk
  • toplevel
  • boot
  • ext4
  • raw
  • qcow2
  • syslinux

Values

  • cmdline
  • root-modules

Source

  • default.nix

© Võ Minh Thu, 2017-2022.