From 2208d630f5fcc3901108fb2ce3ff20fe2699f9e5 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sat, 14 May 2022 11:46:32 +0200 Subject: [PATCH] smithers, blackadder: use zfs.latestCompatiblelinuxpackages --- nixos/physical/3950x.nix | 2 +- nixos/physical/x11.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/physical/3950x.nix b/nixos/physical/3950x.nix index e08bc01..415e81a 100644 --- a/nixos/physical/3950x.nix +++ b/nixos/physical/3950x.nix @@ -11,7 +11,7 @@ in { boot.loader.efi.canTouchEfiVariables = true; boot.supportedFilesystems = [ "zfs" ]; boot.kernelModules = [ "nct6775" ]; - boot.kernelPackages = pkgs.linuxPackages_5_15; # todo: zfs + boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages; networking.hostId = "c7736638"; services.zfs.autoScrub.enable = true; services.zfs.trim.enable = true; diff --git a/nixos/physical/x11.nix b/nixos/physical/x11.nix index 9d83880..3fb2eb7 100644 --- a/nixos/physical/x11.nix +++ b/nixos/physical/x11.nix @@ -12,6 +12,7 @@ in { boot.zfs.requestEncryptionCredentials = true; boot.supportedFilesystems = [ "zfs" ]; + boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages; networking.wireless.iwd.enable = true; networking.hostId = "54a8968e";