From c0a2c19f838964d81144384cdb70bb0145130497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 12 Nov 2023 12:34:58 +0100 Subject: [PATCH] add comment for lvm raid --- nix/noninteractive.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/noninteractive.nix b/nix/noninteractive.nix index 91b48d8..6798668 100644 --- a/nix/noninteractive.nix +++ b/nix/noninteractive.nix @@ -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 ];