This flake harbors various custom derivations and modules for Nix, NixOS and 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: ~700MiB 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.
Quick and dirty instructions for non-NixOS
- Have nix installed and the experimental features
nix-command flakes
enabled - ´nix run nixpkgs#cachix -- use 9lore`
- ´nix build github:ninelore/flake#nixosImages.<Image>´
- Image will be in
./result/
or./result/iso/
This flake is licensed under the MIT License.
Note: MIT license does not apply to the packages built by this flake, merely to the files in this repository (the Nix expressions, build scripts, NixOS modules, etc.). It also might not apply to patches included here, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.