Unverified Commit 66e3ec7d authored by Will Fancher's avatar Will Fancher Committed by GitHub
Browse files

Merge pull request #278895 from jmbaur/repart-initrd-loopback

nixos/repart: add loop module to initrd
parents 5df0c94c 1dad7f68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ in
      }
    ];

    # systemd-repart uses loopback devices for partition creation
    boot.initrd.availableKernelModules = lib.optional initrdCfg.enable "loop";

    boot.initrd.systemd = lib.mkIf initrdCfg.enable {
      additionalUpstreamUnits = [
        "systemd-repart.service"