fix rebuild when using ntfs partitions
needed to define inInitrd, used vfat.nix as a template
This commit is contained in:
parent
b6944026c6
commit
479f5f4ae6
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
with lib;
|
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) {
|
config = mkIf (any (fs: fs == "ntfs" || fs == "ntfs-3g") config.boot.supportedFilesystems) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user