[FileSystems] Include fsck.vfat in initrd... although it is not at the right path.

This must be improved upon.
This commit is contained in:
Antoine Viallon 2022-04-01 00:44:35 +02:00
parent bdd64b51d2
commit 7206f0a8f2
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -49,6 +49,11 @@ in
"dm-cache" "dm-cache-smq" "dm-cache-mq" "dm-cache-cleaner"
];
boot.kernelModules = ifEnable cfg.lvm [ "dm-cache" "dm-cache-smq" "dm-persistent-data" "dm-bio-prison" "dm-clone" "dm-crypt" "dm-writecache" "dm-mirror" "dm-snapshot"];
boot.initrd.extraFiles = {
"/bin/fsck.vfat" = {
source = pkgs.dosfstools; # "${pkgs.dosfstools}/bin/fsck.vfat";
};
};
fileSystems."/boot".neededForBoot = mkDefault true;