Commit 5b822cf4 authored by Arian van Putten's avatar Arian van Putten
Browse files

nixos/image/repart: move Minimize=best to module

I don't think there's really a reason not to do this by default?
parent a5c1fff2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ in
        Verity = "hash";
        VerityMatchKey = lib.mkDefault verityMatchKey;
        Label = lib.mkDefault "store-verity";
        Minimize = lib.mkDefault "best";
      };
      # dm-verity data partition that contains the nix store
      ${cfg.partitionIds.store} = {
@@ -106,6 +107,7 @@ in
          Format = lib.mkDefault "erofs";
          VerityMatchKey = lib.mkDefault verityMatchKey;
          Label = lib.mkDefault "store";
          Minimize = lib.mkDefault "best";
        };
      };

+0 −6
Original line number Diff line number Diff line
@@ -50,12 +50,6 @@
              SizeMinBytes = if config.nixpkgs.hostPlatform.isx86_64 then "64M" else "96M";
            };
          };
          ${partitionIds.store-verity}.repartConfig = {
            Minimize = "best";
          };
          ${partitionIds.store}.repartConfig = {
            Minimize = "best";
          };
        };
      };