|  | 
| 3 | 3 | 
 | 
| 4 | 4 |   inputs = { | 
| 5 | 5 |     nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; | 
| 6 |  | -    rpi-linux-stable-src = { | 
|  | 6 | +    rpi-linux-6_6_y-src = { | 
| 7 | 7 |       flake = false; | 
| 8 |  | -      url = "github:raspberrypi/linux/stable_20241008"; | 
|  | 8 | +      url = "github:raspberrypi/linux/rpi-6.6.y"; | 
| 9 | 9 |     }; | 
| 10 |  | -    rpi-linux-6_6_78-src = { | 
|  | 10 | +    rpi-linux-6_14_y-src = { | 
| 11 | 11 |       flake = false; | 
| 12 |  | -      url = "github:raspberrypi/linux/rpi-6.6.y"; | 
|  | 12 | +      url = "github:raspberrypi/linux/rpi-6.14.y"; | 
| 13 | 13 |     }; | 
| 14 |  | -    rpi-linux-6_12_17-src = { | 
|  | 14 | +    rpi-firmware-6_6_y-src = { | 
| 15 | 15 |       flake = false; | 
| 16 |  | -      url = "github:raspberrypi/linux/rpi-6.12.y"; | 
|  | 16 | +      url = "github:raspberrypi/firmware/stable"; | 
| 17 | 17 |     }; | 
| 18 |  | -    rpi-firmware-src = { | 
|  | 18 | +    rpi-firmware-6_14_y-src = { | 
| 19 | 19 |       flake = false; | 
| 20 |  | -      url = "github:raspberrypi/firmware/1.20241008"; | 
|  | 20 | +      url = "github:raspberrypi/firmware/next"; | 
| 21 | 21 |     }; | 
| 22 | 22 |     rpi-firmware-nonfree-src = { | 
| 23 | 23 |       flake = false; | 
|  | 
| 29 | 29 |     }; | 
| 30 | 30 |     rpicam-apps-src = { | 
| 31 | 31 |       flake = false; | 
| 32 |  | -      url = "github:raspberrypi/rpicam-apps/v1.5.2"; | 
|  | 32 | +      url = "github:raspberrypi/rpicam-apps/v1.6.0"; | 
| 33 | 33 |     }; | 
| 34 | 34 |     libcamera-src = { | 
| 35 | 35 |       flake = false; | 
| 36 |  | -      url = "github:raspberrypi/libcamera/69a894c4adad524d3063dd027f5c4774485cf9db"; # v0.3.1+rpt20240906 | 
|  | 36 | +      url = "github:raspberrypi/libcamera/v0.4.0+rpt20250213"; | 
| 37 | 37 |     }; | 
| 38 | 38 |     libpisp-src = { | 
| 39 | 39 |       flake = false; | 
| 40 |  | -      url = "github:raspberrypi/libpisp/v1.0.7"; | 
|  | 40 | +      url = "github:raspberrypi/libpisp/v1.2.0"; | 
| 41 | 41 |     }; | 
| 42 | 42 |   }; | 
| 43 | 43 | 
 | 
|  | 
| 47 | 47 |         system = "aarch64-linux"; | 
| 48 | 48 |         overlays = with self.overlays; [ core libcamera ]; | 
| 49 | 49 |       }; | 
|  | 50 | +      lock = builtins.fromJSON (builtins.readFile ./flake.lock); | 
|  | 51 | +      lib = srcs.nixpkgs.lib; | 
|  | 52 | +      inputs = lib.recursiveUpdate (builtins.removeAttrs srcs [ "self" ]) { inherit lock; }; | 
| 50 | 53 |     in | 
| 51 | 54 |     { | 
| 52 | 55 |       overlays = { | 
| 53 |  | -        core = import ./overlays (builtins.removeAttrs srcs [ "self" ]); | 
| 54 |  | -        libcamera = import ./overlays/libcamera.nix (builtins.removeAttrs srcs [ "self" ]); | 
|  | 56 | +        core = import ./overlays inputs; | 
|  | 57 | +        libcamera = import ./overlays/libcamera.nix inputs; | 
| 55 | 58 |       }; | 
| 56 | 59 |       nixosModules = { | 
| 57 | 60 |         raspberry-pi = import ./rpi { | 
| 58 |  | -          inherit pinned; | 
|  | 61 | +          inherit pinned inputs; | 
| 59 | 62 |           core-overlay = self.overlays.core; | 
| 60 | 63 |           libcamera-overlay = self.overlays.libcamera; | 
| 61 | 64 |         }; | 
|  | 
| 82 | 85 |         in | 
| 83 | 86 |         { | 
| 84 | 87 |           example-sd-image = self.nixosConfigurations.rpi-example.config.system.build.sdImage; | 
| 85 |  | -          firmware = pinned.raspberrypifw; | 
| 86 | 88 |           libcamera = pinned.libcamera; | 
| 87 | 89 |           wireless-firmware = pinned.raspberrypiWirelessFirmware; | 
| 88 | 90 |           uboot-rpi-arm64 = pinned.uboot-rpi-arm64; | 
|  | 
0 commit comments