fix: use nixos-uconsole module with its own nixpkgs
- nixos-uconsole manages its own nixpkgs input - Uses nixos-uconsole.lib.nixosSystem for proper module support - Restores uconsole.* options in configuration.nix - Includes nixos-hardware.raspberry-pi-5 module
This commit is contained in:
@@ -2,8 +2,20 @@
|
||||
|
||||
{
|
||||
# --- CORE HARDWARE (CM5 / RPi5) ---
|
||||
# Manual hardware config in flake.nix (nixos-uconsole module has compatibility issues)
|
||||
# Display and firmware configured in flake.nix modules array
|
||||
# nixos-uconsole.nixosModules.uconsole-cm5 imported in flake.nix
|
||||
|
||||
uconsole = {
|
||||
enable = true;
|
||||
variant = "cm5"; # Hardware target: CM5/RPi5
|
||||
# Fixes the landscape orientation at boot
|
||||
videoMode = "720x1280M@60D,panel_orientation=right_side_up";
|
||||
};
|
||||
|
||||
# Firmware for Wi-Fi and Bluetooth
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
# Enable GPU acceleration (VideoCore VII)
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
# --- BASIC HOST INFO ---
|
||||
networking.hostName = "uConsole";
|
||||
|
||||
Reference in New Issue
Block a user