mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[FileSystems] Include fsck.vfat in initrd... although it is not at the right path.
This must be improved upon.
This commit is contained in:
parent
bdd64b51d2
commit
7206f0a8f2
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ in
|
||||||
"dm-cache" "dm-cache-smq" "dm-cache-mq" "dm-cache-cleaner"
|
"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.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;
|
fileSystems."/boot".neededForBoot = mkDefault true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue