Skip to content

Commit a59c316

Browse files
committed
nixos-modules/microvm/store-disk: create squashfs with uid/gid 0
1 parent da064bd commit a59c316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos-modules/microvm/store-disk.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let
88
kernelAtLeast = lib.versionAtLeast config.boot.kernelPackages.kernel.version;
99

1010
erofsFlags = builtins.concatStringsSep " " (
11-
[ "-zlz4hc" ]
11+
[ "-zlz4hc" "--force-uid=0" "--force-gid=0" ]
1212
# ++
1313
# lib.optional (kernelAtLeast "5.13") "-C1048576"
1414
++

0 commit comments

Comments
 (0)