add comment for lvm raid

This commit is contained in:
Jörg Thalheim 2023-11-12 12:34:58 +01:00
parent 092b60439f
commit c0a2c19f83

View file

@ -43,7 +43,12 @@
"xfs"
];
boot = {
kernelModules = [ "dm-raid" "zfs" ];
kernelModules = [
"zfs"
# we have to explicitly enable this, otherwise it is not loaded even when creating a raid:
# https://github.com/nix-community/nixos-anywhere/issues/249
"dm-raid"
];
extraModulePackages = [
config.boot.kernelPackages.zfs
];