install the most recent linux kernel

This commit is contained in:
Seaswimmer 2024-11-18 19:44:25 -05:00
parent 6f468d2d0f
commit c8637c99d5
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -1,6 +1,7 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }:
{ {
nix = { nix = {
settings = { settings = {
@ -9,6 +10,9 @@
}; };
}; };
# install the most recent stable linux kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;