lib/default: check for fs instead of luks

This commit is contained in:
makefu 2018-09-11 23:23:14 +02:00
parent 969d4e1f6a
commit 9c9b62e15e
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -96,7 +96,7 @@ let {
in '' in ''
${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.luks))} ${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.luks))}
${optionalString (hasAttr "lvm" z) (concatStringsSep "\n" (attrValues z.lvm))} ${optionalString (hasAttr "lvm" z) (concatStringsSep "\n" (attrValues z.lvm))}
${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.fs))} ${optionalString (hasAttr "fs" z) (concatStringsSep "\n" (attrValues z.fs))}
''; '';
mount.luks = q: x: ( mount.luks = q: x: (