From 3d6a5ad6049b9c55488b501b2a3b439586d7dd5e Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 18 Jan 2024 08:33:46 +0300 Subject: [PATCH] systemd-lib: fix automount generation after 9fbf82d9cb48 This one got missed in the refactor. --- nixos/lib/systemd-lib.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nixos/lib/systemd-lib.nix b/nixos/lib/systemd-lib.nix index 22a7dd1ff9a1..347ee7303936 100644 --- a/nixos/lib/systemd-lib.nix +++ b/nixos/lib/systemd-lib.nix @@ -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: