smolder: Use Collabora kernel

This commit is contained in:
Artemis Tosini 2024-05-06 04:44:01 +00:00
parent 4b7c746e94
commit a7be7d2a7f
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -1,4 +1,20 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
kernel =
with pkgs;
buildLinux rec {
version = "6.9.0-rc1";
modDirVersion = version;
extraMeta.branch = "6.9";
src = fetchFromGitLab {
domain = "gitlab.collabora.com";
owner = "hardware-enablement/rockchip-3588";
repo = "linux";
rev = "b8807d4c1f35361910dadfac9b2d4911fe033f45";
hash = "sha256-SY1SWr5QqqxkaBXToObO9hTrklbFdJle3r5F26LXqK4=";
};
};
in
{ {
hardware.deviceTree = { hardware.deviceTree = {
filter = "rk3588-rock-5b.dtb"; filter = "rk3588-rock-5b.dtb";
@ -14,7 +30,7 @@
loader.grub.enable = false; loader.grub.enable = false;
loader.generic-extlinux-compatible.enable = true; loader.generic-extlinux-compatible.enable = true;
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackagesFor kernel;
tmp.cleanOnBoot = true; tmp.cleanOnBoot = true;
initrd.luks.devices.${config.networking.hostName} = { initrd.luks.devices.${config.networking.hostName} = {