From 126cff2263bfafbd749dc009bcd808b9f4ead020 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 29 Apr 2024 14:26:49 +0200 Subject: [PATCH] quitte: pin kernel to 6.6.27 6.6.28 broke the network driver --- hosts/quitte/configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/quitte/configuration.nix b/hosts/quitte/configuration.nix index 8b05df1..0e2d288 100644 --- a/hosts/quitte/configuration.nix +++ b/hosts/quitte/configuration.nix @@ -16,7 +16,18 @@ # boot.kernelParams = [ "video=VGA-1:1024x768@30" ]; boot.loader.efi.canTouchEfiVariables = true; boot.supportedFilesystems = [ "zfs" ]; - boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + # boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + # Pin Kernel Version as 6.6.28 has a broken networking driver + boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_6.override { + argsOverride = rec { + src = pkgs.fetchurl { + url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz"; + sha256 = "sha256-Y55QBg48jyPtAXyxDP6sxrqI/1WDgSu3aFm0zGoSgpE="; + }; + version = "6.6.27"; + modDirVersion = "6.6.27"; + }; + }); services.zfs = { trim.enable = true;