c795bcd4921800cdd4a5f804b9ca128ff6b0ba06
Adds hardware.ipu6 for the built-in MIPI camera, plus two overlay fixes needed for it to actually work on this hardware: - Pin icamerasrc-ipu6epmtl to the same release tag already used by ipu6-camera-bins/ipu6-camera-hal (20250923_ov02e). The version nixpkgs currently pulls is an Intel internal IoT/Panther-Lake validation build whose device table only lists external USB AR0234 test sensors, never the real ov08x40, so the camera never gets selected. - Patch ipu6-camera-hal's hardcoded IVSC/CVS entity name from "Intel IVSC CSI" (the out-of-tree ivsc driver's name) to "Intel CVS" (the mainlined intel_cvs driver's name). The mismatch broke I2C bus address resolution for the sensor, which cascaded into wrong stream configs and black/missing video.
config-manager
./config-manager is a module that contains a script to make usage of this flake easier.
To install it
- first add the module to the nixOS system connfiguration
- set
config-manager.flakePath = <path to this flake> - run
nixos-rebuild switch --flake .#<configuration>after thatcmwill be available on$PATH.
Secrets
Secrets are managed by agenix (https://github.com/ryantm/agenix).
Creating new secrets
-
Update
secrets/secrets.nixwith the new secret. -
When inside
./secrets:
EDITOR=vim agenix -e "some-secret.age"
This will create a new secret. To view its content one can do:
EDITOR=vim agenix -d "some-secret.age" -i ~/.ssh/alex.pinwheel
Or use some other SSH key that is has been used to key the secret.
Test VM
Build the test VM with the command:
cm --build-test-vm
and test it with:
cm --run-test-vm
Languages
Nix
76.7%
HTML
18.4%
Shell
4%
Emacs Lisp
0.9%