parent
c0f70b4694
commit
57b05765c9
@ -0,0 +1,16 @@ |
||||
{ config, lib, pkgs, ... }: |
||||
|
||||
with lib; |
||||
|
||||
{ |
||||
config = mkIf (any (fs: fs == "ntfs" || fs == "ntfs-3g") config.boot.supportedFilesystems) { |
||||
|
||||
system.fsPackages = [ pkgs.ntfs3g ]; |
||||
|
||||
boot.initrd.kernelModules = mkIf inInitrd [ "jfs" ]; |
||||
|
||||
boot.initrd.extraUtilsCommands = mkIf inInitrd '' |
||||
copy_bin_and_libs ${pkgs.jfsutils}/sbin/fsck.jfs |
||||
''; |
||||
}; |
||||
} |
Loading…
Reference in new issue