mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
fix nixos.fileSystems.decrypt.auto.before error
This commit is contained in:
@@ -79,7 +79,7 @@ inputs:
|
||||
let
|
||||
createService = device:
|
||||
{
|
||||
name = "systemd-cryptsetup@${device.name}";
|
||||
name = "systemd-cryptsetup@${device.value.mapper}";
|
||||
value =
|
||||
{
|
||||
before = builtins.map (device: "systemd-cryptsetup@${device}.service") device.value.before;
|
||||
|
||||
Reference in New Issue
Block a user