common: use latest linux kernel by default

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-05 10:09:18 +01:00
parent c17b068aae
commit e9fb3d71d8
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 2 additions and 2 deletions

View File

@ -195,6 +195,8 @@ in {
Defaults lecture_file = ${sudoLecture}
'';
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/profiles/hardened.nix
boot.blacklistedKernelModules = [
# Obscure network protocols

View File

@ -17,8 +17,6 @@
system.stateVersion = "24.11";
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;