From e9fb3d71d8529f4af55bb2613c4aca3ac32f766c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 5 Dec 2024 10:09:18 +0100 Subject: [PATCH] common: use latest linux kernel by default --- hosts/common/default.nix | 2 ++ hosts/xps16/configuration.nix | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/default.nix b/hosts/common/default.nix index a68b12a..8240c55 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -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 diff --git a/hosts/xps16/configuration.nix b/hosts/xps16/configuration.nix index 9df0c8d..d1c31dc 100644 --- a/hosts/xps16/configuration.nix +++ b/hosts/xps16/configuration.nix @@ -17,8 +17,6 @@ system.stateVersion = "24.11"; - boot.kernelPackages = pkgs.linuxPackages_latest; - boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;