We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ef26b commit ff35688Copy full SHA for ff35688
lib/make-disk-image.nix
@@ -26,7 +26,7 @@ let
26
++ (lib.optional configSupportsZfs "zfs")
27
++ cfg.extraRootModules;
28
kernel = pkgs.aggregateModules
29
- (with cfg.kernelPackages; [ kernel ]
+ ([ cfg.kernelPackages.kernel ]
30
++ lib.optional (lib.elem "zfs" cfg.extraRootModules || configSupportsZfs) cfg.kernelPackages.${config.boot.zfs.package.kernelModuleAttribute});
31
}
32
// lib.optionalAttrs (diskoLib.vmToolsSupportsCustomQemu lib)
0 commit comments