Skip to content

Commit

Permalink
Merge pull request #281687 from K900/wantedby-oof
Browse files Browse the repository at this point in the history
systemd-lib: fix automount generation after 9fbf82d
  • Loading branch information
K900 authored Jan 18, 2024
2 parents 2fba629 + 3d6a5ad commit cefcf19
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions nixos/lib/systemd-lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cefcf19

Please sign in to comment.