Formatting
This commit is contained in:
parent
d9356da1a5
commit
90bc702ee8
|
@ -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"];
|
||||||
|
|
Loading…
Reference in a new issue