mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
optional string brackets
This commit is contained in:
parent
60bda6019f
commit
969d4e1f6a
1 changed files with 3 additions and 3 deletions
|
|
@ -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: (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue