systemd-lib: fix automount generation after 9fbf82d9cb

This one got missed in the refactor.
This commit is contained in:
K900 2024-01-18 08:33:46 +03:00
parent 2fba629f59
commit 3d6a5ad604

View File

@ -435,11 +435,10 @@ in rec {
automountToUnit = name: def:
{ inherit (def) aliases wantedBy requiredBy enable overrideStrategy;
text = commonUnitText def +
''
[Automount]
${attrsToSection def.automountConfig}
'';
text = commonUnitText def ''
[Automount]
${attrsToSection def.automountConfig}
'';
};
sliceToUnit = name: def: