fix rebuild when using ntfs partitions

needed to define inInitrd, used vfat.nix as a template
This commit is contained in:
Cray Elliott 2015-04-19 15:17:23 -07:00
parent b6944026c6
commit 479f5f4ae6

View File

@ -2,6 +2,12 @@
with lib;
let
inInitrd = any (fs: fs == "ntfs") config.boot.initrd.supportedFilesystems;
in
{
config = mkIf (any (fs: fs == "ntfs" || fs == "ntfs-3g") config.boot.supportedFilesystems) {