Skip to content

Commit 870cb18

Browse files
SuperSandro2000astro
authored andcommitted
Add missing defaultText
1 parent e08aed6 commit 870cb18

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nixos-modules/microvm/store-disk.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ in
5757
"-Efragments"
5858
"-Ededupe"
5959
];
60+
defaultText = lib.literalExpression ''
61+
[ "-zlz4hc" ]
62+
++ lib.optional (kernelAtLeast "5.16") "-Eztailpacking"
63+
++ lib.optionals (kernelAtLeast "6.1") [
64+
"-Efragments"
65+
"-Ededupe"
66+
]
67+
'';
6068
};
6169

6270
storeDiskSquashfsFlags = mkOption {

0 commit comments

Comments
 (0)