diff options
Diffstat (limited to 'system-profiles/zfs.nix')
-rw-r--r-- | system-profiles/zfs.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system-profiles/zfs.nix b/system-profiles/zfs.nix index a93dddd2..f3147f9e 100644 --- a/system-profiles/zfs.nix +++ b/system-profiles/zfs.nix | |||
@@ -1,7 +1,8 @@ | |||
1 | { pkgs, lib, ... } : { | 1 | { config, pkgs, lib, ... } : { |
2 | config = { | 2 | config = { |
3 | boot = { | 3 | boot = { |
4 | kernelPackages = pkgs.linuxPackages_6_12; | 4 | kernelPackages = lib.mkIf (!config.boot.kernel.llvm.enable) pkgs.linuxPackages_6_12; |
5 | kernel.llvm.kernel = lib.mkIf config.boot.kernel.llvm.enable pkgs.linux_6_12; | ||
5 | zfs.package = pkgs.zfs_2_3; | 6 | zfs.package = pkgs.zfs_2_3; |
6 | 7 | ||
7 | supportedFilesystems.zfs = true; | 8 | supportedFilesystems.zfs = true; |