1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

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
commit 58a8cfa7da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
};