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:
parent
143797259e
commit
9473eff007
2 changed files with 3 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue