From 647ab5ff541d7837ac2f7ba1578c1c534efa10b9 Mon Sep 17 00:00:00 2001 From: tomoron Date: Wed, 29 Jan 2025 01:49:28 +0100 Subject: [PATCH] set default lts kernel on server, latest kernel broken with zfs --- configuration.nix | 2 +- hosts/server.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index d510d3c..473776b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,7 +11,7 @@ nix.settings.experimental-features = ["nix-command" "flakes"]; nixpkgs.config.allowUnfree = true; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; boot.loader = { systemd-boot.enable = true; diff --git a/hosts/server.nix b/hosts/server.nix index 705ff68..e09d56a 100644 --- a/hosts/server.nix +++ b/hosts/server.nix @@ -7,6 +7,7 @@ modules/vboxHost.nix modules/nvidia.nix ]; + boot.kernelPackages = pkgs.linuxPackages; boot.extraModulePackages = with config.boot.kernelPackages; [gasket]; networking.hostName = "server";