This flake harbors custom package derivations, image generation outputs as well as my personal configurations for Nix, NixOS as well as Home-Manager.
- default: Simply adds the package overlay and the binary cache
- cros: Provides some configuration for Chromebooks.
- Installs Firmware via
hardware.enableRedistributableFirmware = true;
- Installs WeirdTreeThing's UCMs
- Does not install modprobe configs that might be required!
- Installs keyd and libinput, but no configuration. Run cros-keyboard-map to generate configuration.
- Enebles iio for screen rotation.
- Disables TPM.
- Will not override your configuration.
- Installs Firmware via
- crosSetuid: Installs
ectool
andcbmem
with setuid permission to PATH - crosAarch64: Fixes and slims down NixOS initrd for aarch64 and custom kernels
The images always include additional useful tool in addition to the NixOS ISO defaults and are preconfigured to run NetworkManager for Connectivity.
The following images are production ready and are built by CI
raw-x64cros
: Raw disk image for Chromebooks. While these are intended for stock (Depthcharge) firmware, they can be used for UEFI Firmware aswell.- Architecture: x86_64-linux
- Latest NixOS stable kernel (
pkgs.linuxPackages_latest
) - Layout:
- 1: 64MiB Submarine
- 2: ~320MiB EFI Partition for BLS entries, but also featuring
systemd-boot
- 3: ~8GiB expanding ext4 root partiton
iso-x86_64
: Iso image for x86_64 UEFI. Basically like the NixOS minimal iso, but with extra tools, NetworkManager and the latest stable kernel.- Architecture: x86_64-linux
- Latest NixOS stable kernel (
pkgs.linuxPackages_latest
) - Layout: ISO 9660 image
Refer to ./lib/images.nix
for a list of all available images.
Instructions for non-NixOS
Instructions for NixOS
- Have the experimental features
nix-command flakes
enabled - Add the default module of this flake to your configuration to add the binary cache and overlay. Alternatively follow the instructions here
- ´nix build github:ninelore/flake#nixosImages.
´
- Image will be in
./result/
or./result/iso/