Pinned linux kernel version so I can rollback to specific versions in the past for things like bluetooth issues

This commit is contained in:
2026-06-02 11:51:58 +02:00
parent 1ed32e29b0
commit b696672f11
2 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,9 @@
pam-fprint-grosshack-pkg,
awwwPkg,
...
}: {
}: let
kernel-pinned = import inputs.pinned-kernel {inherit system;};
in {
#Assign Swap to the PC
swapDevices = [
{
@ -55,7 +57,7 @@
# Bootloader.
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = kernel-pinned.linuxPackages_latest;
kernelParams = ["quiet" "splash"];
initrd = {
systemd.enable = true; #For swap to automatically work