Faster SquashFS decompression of Nix Store (#341149)

This commit is contained in:
Connor Baker
2024-09-16 08:07:40 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -722,7 +722,7 @@ in
"/nix/.ro-store" = lib.mkImageMediaOverride
{ fsType = "squashfs";
device = "/iso/nix-store.squashfs";
options = [ "loop" ];
options = [ "loop" "threads=multi" ];
neededForBoot = true;
};

View File

@@ -47,7 +47,7 @@ with lib;
fileSystems."/nix/.ro-store" = mkImageMediaOverride
{ fsType = "squashfs";
device = "../nix-store.squashfs";
options = [ "loop" ];
options = [ "loop" "threads=multi" ];
neededForBoot = true;
};