From 653c69fcfd5ce0f461bdf9b5de0edab2a2f4e6c9 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 6 Jun 2026 21:07:37 -0400 Subject: [PATCH] fix(flake): detach nixos-uconsole nixpkgs from unstable to hit Cachix nixos-uconsole's Cachix cache is built with nixpkgs-stable (25.11). Following our unstable caused a full kernel rebuild every time. By using nixos-uconsole's pinned nixpkgs, future builds will download the pre-compiled kernel from the cache instead of compiling it locally on the CM5. --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 36bfd37..13eb7c0 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,9 @@ }; nixos-uconsole = { url = "github:nixos-uconsole/nixos-uconsole"; - inputs.nixpkgs.follows = "nixpkgs"; + # Cache Cachix build avec nixpkgs stable (25.11). + # Ne PAS suivre notre unstable — sinon rebuild kernel à chaque fois. + # inputs.nixpkgs.follows = "nixpkgs"; }; nixos-raspberrypi = { url = "github:nvmd/nixos-raspberrypi/v1.20260517.0";