Skip to content

Commit 74ec727

Browse files
Merge pull request #440 from brianmcgillion/fix-writableStore
fix: append dont clear
2 parents 63b914d + 8730a02 commit 74ec727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos-modules/microvm/mounts.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ lib.mkIf config.microvm.guest.enable {
8787
upperdir = "${writableStoreOverlay}/store";
8888
workdir = "${writableStoreOverlay}/work";
8989
};
90-
options = lib.optional isRwStoreVirtiofsShare "userxattr";
90+
options = lib.mkIf isRwStoreVirtiofsShare [ "userxattr" ];
9191
};
9292
}
9393
) {

0 commit comments

Comments
 (0)