1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

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: