1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib: use Linux 5.15 LTS on all machines

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2022-01-31 20:01:07 -05:00
parent 143797259e
commit 9473eff007
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
2 changed files with 3 additions and 4 deletions

View file

@ -13,6 +13,9 @@ in {
boot = {
# Explicitly enable drivetemp for SATA drive temperature reporting in hwmon.
kernelModules = [ "drivetemp" ];
# 2022 LTS kernel, expected EOL of October 2023.
kernelPackages = pkgs.linuxPackages_5_15;
};
# Console configuration.

View file

@ -52,10 +52,6 @@ in {
# Enable ZFS.
supportedFilesystems = [ "zfs" ];
# Temporary, latest kernel with ZFS support.
# TODO(mdlayher): 2021 LTS kernel.
kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
kernelParams = [
# Enable serial console.
"console=ttyS0,115200n8"