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:
2026-04-29 19:35:14 +00:00
parent f479b68e09
commit 2e32e46c1c
2 changed files with 22 additions and 21 deletions

View File

@@ -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";