From 870cb181719aa12baf478d7cde6068ec7ed144ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 10 Dec 2024 22:34:40 +0100 Subject: [PATCH] Add missing defaultText --- nixos-modules/microvm/store-disk.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos-modules/microvm/store-disk.nix b/nixos-modules/microvm/store-disk.nix index a25fff94..603c8c0f 100644 --- a/nixos-modules/microvm/store-disk.nix +++ b/nixos-modules/microvm/store-disk.nix @@ -57,6 +57,14 @@ in "-Efragments" "-Ededupe" ]; + defaultText = lib.literalExpression '' + [ "-zlz4hc" ] + ++ lib.optional (kernelAtLeast "5.16") "-Eztailpacking" + ++ lib.optionals (kernelAtLeast "6.1") [ + "-Efragments" + "-Ededupe" + ] + ''; }; storeDiskSquashfsFlags = mkOption {