Skip to content

Commit

Permalink
nixos: switch to Linux 5.6.15
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
  • Loading branch information
msfjarvis committed Jun 4, 2020
1 parent 4e42bc8 commit 1e7e130
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions nixos/laptop-configuration.nix
Expand Up @@ -26,10 +26,21 @@ in {
};

# Use the latest available kernel.
boot.kernelPackages = pkgs.linuxPackages_4_19;
boot.kernelPackages = pkgs.linuxPackages_latest;

# Enable the rtl8821ce module
boot.extraModulePackages = with config.boot.kernelPackages; [ rtl8821ce ];
boot.extraModulePackages = with config.boot.kernelPackages;
[
(rtl8821ce.overrideAttrs (old: {
version = "5.5.2_34066.20200325";
src = pkgs.fetchFromGitHub {
owner = "tomaspinho";
repo = "rtl8821ce";
rev = "69765eb288a8dfad3b055b906760b53e02ab1dea";
sha256 = "17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s";
};
}))
];

# Set come cmdline options for AMDGPU
boot.kernelParams = [ "amd_iommu=pt" "ivrs_ioapic[32]=00:14.0" "iommu=soft" ];
Expand Down

0 comments on commit 1e7e130

Please sign in to comment.