Formatting

This commit is contained in:
Malte Tammena 2022-06-05 13:14:38 +02:00
parent d9356da1a5
commit 90bc702ee8

View file

@ -42,7 +42,8 @@
# === External drives === # === External drives ===
let let
cryptsetup = "${pkgs.cryptsetup}/bin/cryptsetup"; cryptsetup = "${pkgs.cryptsetup}/bin/cryptsetup";
unlockLuksService = label: keyfile: lib.attrsets.recursiveUpdate { unlockLuksService = label: keyfile:
lib.attrsets.recursiveUpdate {
description = "Unlock luks encrypted device '${label}'"; description = "Unlock luks encrypted device '${label}'";
bindsTo = ["dev-${label}.device"]; bindsTo = ["dev-${label}.device"];
after = ["dev-${label}.device"]; after = ["dev-${label}.device"];