mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
lib/default: check for fs instead of luks
This commit is contained in:
parent
969d4e1f6a
commit
9c9b62e15e
@ -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: (
|
||||||
|
Loading…
Reference in New Issue
Block a user