fix: use nixos-uconsole.kernel module only (uconsole-cm5 has broken deps)
- uconsole-cm5 module requires hardware.raspberry-pi options that don't exist - Manual hardware config in flake.nix instead - Still uses uconsole kernel and nixpkgs-uconsole for package compatibility
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -94,9 +94,20 @@
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
nix.package = lix.packages."aarch64-linux".default;
|
||||
|
||||
# Manual uConsole CM5 hardware setup (nixos-uconsole module has broken hardware.raspberry-pi deps)
|
||||
# Display: 720x1280 landscape, panel on right side up
|
||||
boot.kernelParams = [
|
||||
"video=DSI-1:720x1280M@60D,panel_orientation=right_side_up"
|
||||
"console=tty1"
|
||||
];
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.graphics.enable = true;
|
||||
}
|
||||
nixos-uconsole.nixosModules.uconsole-cm5
|
||||
# Use uconsole kernel module only (not the full uconsole-cm5 which has broken deps)
|
||||
nixos-uconsole.nixosModules.kernel
|
||||
./hosts/uconsole/configuration.nix
|
||||
./hosts/uconsole/hardware-configuration.nix
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user