Skip to content

Commit

Permalink
fix(flexbox): Update kernel to 6.6.48 addresses sound problems on newest
Browse files Browse the repository at this point in the history
Dell drivers

See NixOS/nixpkgs#130882
  • Loading branch information
workflow committed Sep 2, 2024
1 parent eb40c36 commit f0ef59b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 44 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions machines/flexbox/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,6 @@ in {
# https://lore.kernel.org/linux-nvme/YnR%2FFiWbErNGXIx+@kbusch-mbp/T/
boot.kernelParams = ["nvme_core.default_ps_max_latency_us=0" "acpiphp.disable=1"];

# Temporary Audio fix on Kernel 6.6.37+
# See https://github.com/NixOS/nixpkgs/issues/330685
# boot.extraModprobeConfig = ''
# options snd-hda-intel dmic_detect=0
# '';
# boot.kernelPatches = [
# {
# name = "fix-1";
# patch = builtins.fetchurl {
# url = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/patch/sound/soc/soc-topology.c?id=e0e7bc2cbee93778c4ad7d9a792d425ffb5af6f7";
# sha256 = "sha256:1y5nv1vgk73aa9hkjjd94wyd4akf07jv2znhw8jw29rj25dbab0q";
# };
# }
# {
# name = "fix-2";
# patch = builtins.fetchurl {
# url = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/patch/sound/soc/soc-topology.c?id=0298f51652be47b79780833e0b63194e1231fa34";
# sha256 = "sha256:14xb6nmsyxap899mg9ck65zlbkvhyi8xkq7h8bfrv4052vi414yb";
# };
# }
# ];
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-85dud3CGlP5KH40TB8MVyKNsvFjwOKOOAGuR4pofMhQ=";
};
version = "6.6.37";
modDirVersion = "6.6.37";
};
});

# GPU
environment.systemPackages = [nvidia-offload];
services.xserver.videoDrivers = ["nvidia"];
Expand Down

0 comments on commit f0ef59b

Please sign in to comment.