Merge pull request #281687 from K900/wantedby-oof

systemd-lib: fix automount generation after 9fbf82d9cb48

authored by K900 and committed by GitHub cefcf19e 2fba629f

+4 -5
+4 -5
nixos/lib/systemd-lib.nix
··· 435 435 436 436 automountToUnit = name: def: 437 437 { inherit (def) aliases wantedBy requiredBy enable overrideStrategy; 438 - text = commonUnitText def + 439 - '' 440 - [Automount] 441 - ${attrsToSection def.automountConfig} 442 - ''; 438 + text = commonUnitText def '' 439 + [Automount] 440 + ${attrsToSection def.automountConfig} 441 + ''; 443 442 }; 444 443 445 444 sliceToUnit = name: def: