mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 19:08:47 +00:00
Merge pull request #281687 from K900/wantedby-oof
systemd-lib: fix automount generation after 9fbf82d9cb
This commit is contained in:
commit
cefcf19e1c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user