mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
optional string brackets
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -94,9 +94,9 @@ let {
|
|||||||
# attrValues returns values sorted by name. This is important, because it
|
# attrValues returns values sorted by name. This is important, because it
|
||||||
# ensures that "/" is processed before "/foo" etc.
|
# ensures that "/" is processed before "/foo" etc.
|
||||||
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" fs) concatStringsSep "\n" (attrValues z.fs)}
|
${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.fs))}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mount.luks = q: x: (
|
mount.luks = q: x: (
|
||||||
|
|||||||
Reference in new issue
Block a user