From a799338d17ba87d6e5e407e769cbfca0d6e4eb34 Mon Sep 17 00:00:00 2001 From: Bert Proesmans Date: Sun, 2 Nov 2025 16:01:15 +0000 Subject: [PATCH] fix(luks); Passthrough filesystems of content for unmounting --- lib/types/luks.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/types/luks.nix b/lib/types/luks.nix index 421d12f..1875696 100644 --- a/lib/types/luks.nix +++ b/lib/types/luks.nix @@ -214,6 +214,7 @@ in cryptsetup close "${config.name}" fi ''; + fs = lib.optionalAttrs (config.content != null) contentUnmount.fs or { }; }; }; _config = lib.mkOption {