From 102586d7e89daf07b2910308dad053740e816c98 Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 16 Jun 2026 19:21:54 -0400 Subject: [PATCH] fix: switch nixos-uconsole to cm5_fix branch (patches OK) - Remove local boot.kernelPatches (now in nixos-uconsole fork) - Point to github:gortium/nixos-uconsole/cm5_fix instead of pr/dcs-panel-detection --- flake.nix | 9 +-------- hosts/uconsole-cm5/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 4ae40a8..68896b5 100644 --- a/flake.nix +++ b/flake.nix @@ -14,7 +14,7 @@ }; nixpkgs-uconsole.url = "github:NixOS/nixpkgs/nixos-25.11"; nixos-uconsole = { - url = "github:gortium/nixos-uconsole/pr/dcs-panel-detection"; + url = "github:gortium/nixos-uconsole/cm5_fix"; inputs.nixpkgs.follows = "nixpkgs-uconsole"; inputs.nixos-raspberrypi.follows = "nixos-raspberrypi"; }; @@ -102,13 +102,6 @@ ({ config, lib, pkgs, ... }: { nixpkgs.overlays = [ uconsoleRpiPipewireOverlay ]; }) - # Fix old panel init_sequence: DCS read + DSI_INIT0 lane config - ({ lib, ... }: { - boot.kernelPatches = [{ - name = "panel-cwu50-fix-lanes"; - patch = ./patches/0008-panel-cwu50-fix-init-seq1.patch; - }]; - }) nixos-raspberrypi.nixosModules.raspberry-pi-5.base nixos-raspberrypi.lib.inject-overlays nixos-raspberrypi.lib.inject-overlays-global diff --git a/hosts/uconsole-cm5/configuration.nix b/hosts/uconsole-cm5/configuration.nix index dd72f0c..d51b4dd 100644 --- a/hosts/uconsole-cm5/configuration.nix +++ b/hosts/uconsole-cm5/configuration.nix @@ -54,5 +54,5 @@ enableGPS = false; # activer quand antenne GPS branchée }; - # DSI display fix: le kernel patch est dans flake.nix (patches/0008-panel-cwu50-fix-init-seq1.patch) + # DSI display fix: les patches sont dans le fork gortium/nixos-uconsole (cm5_fix) }