Merge pull request #201266 from aszlig/fix-fsck

nixos: Fix fsck with systemd 251.6 and later
This commit is contained in:
Florian Klink
2022-11-15 08:17:53 +00:00
committed by GitHub

View File

@@ -300,7 +300,11 @@ in
boot.supportedFilesystems = map (fs: fs.fsType) fileSystems;
# Add the mount helpers to the system path so that `mount' can find them.
system.fsPackages = [ pkgs.dosfstools ];
system.fsPackages = [
pkgs.dosfstools
# This is needed for the main fsck utility wrapping the fs-specific ones.
pkgs.util-linux
];
environment.systemPackages = with pkgs; [ fuse3 fuse ] ++ config.system.fsPackages;