Skip to content

Commit

Permalink
nixos-modules/microvm/store-disk: create squashfs with uid/gid 0
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed May 22, 2024
1 parent da064bd commit a59c316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-modules/microvm/store-disk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let
kernelAtLeast = lib.versionAtLeast config.boot.kernelPackages.kernel.version;

erofsFlags = builtins.concatStringsSep " " (
[ "-zlz4hc" ]
[ "-zlz4hc" "--force-uid=0" "--force-gid=0" ]
# ++
# lib.optional (kernelAtLeast "5.13") "-C1048576"
++
Expand Down

0 comments on commit a59c316

Please sign in to comment.