From d8a3e367bdd31429af232843fc3edaa4ae71c97d Mon Sep 17 00:00:00 2001 From: Bert Proesmans Date: Sun, 2 Nov 2025 13:41:51 +0000 Subject: [PATCH] Fix(mdadm); unmount not passing through filesystems set from content --- lib/types/mdadm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/mdadm.nix b/lib/types/mdadm.nix index aecc901..9b97217 100644 --- a/lib/types/mdadm.nix +++ b/lib/types/mdadm.nix @@ -85,7 +85,7 @@ content = lib.optionalAttrs (config.content != null) config.content._unmount; in { - fs = content.fs; + fs = content.fs or { }; dev = '' ${content.dev or ""} if [ -e "/dev/md/${config.name}" ]; then -- knotmirror 0.0.1