fix: pin linux to 6.8

This commit is contained in:
Julien Malka 2024-05-21 22:04:01 +02:00
parent 7052687808
commit a4be035fff
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -1,34 +1,40 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_6_8;
fileSystems."/" =
{
device = "/dev/nvme0n1p1";
fsType = "bcachefs";
};
fileSystems."/" = {
device = "/dev/nvme0n1p1";
fsType = "bcachefs";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/72EA-E988";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/72EA-E988";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/2c19cb7a-bf8d-4bd3-ad61-ee3c27d57998"; }];
swapDevices = [ { device = "/dev/disk/by-uuid/2c19cb7a-bf8d-4bd3-ad61-ee3c27d57998"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's