diff options
author | Rok Garbas <rok@garbas.si> | 2017-09-25 00:45:52 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2017-09-29 19:55:28 +0200 |
commit | 748ef34f098451652a785455953667520ca14fa4 (patch) | |
tree | c601665d37bba78c57e7b2b7d1e73cb44109c921 /nixos/modules/tasks | |
parent | 63f56e0d2f4d43422ecda3d097889a109e08aea3 (diff) | |
download | nixlib-748ef34f098451652a785455953667520ca14fa4.tar nixlib-748ef34f098451652a785455953667520ca14fa4.tar.gz nixlib-748ef34f098451652a785455953667520ca14fa4.tar.bz2 nixlib-748ef34f098451652a785455953667520ca14fa4.tar.lz nixlib-748ef34f098451652a785455953667520ca14fa4.tar.xz nixlib-748ef34f098451652a785455953667520ca14fa4.tar.zst nixlib-748ef34f098451652a785455953667520ca14fa4.zip |
assertion should check for encrypted.label of the defined fileSystem
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/encrypted-devices.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/encrypted-devices.nix b/nixos/modules/tasks/encrypted-devices.nix index fa0abb43c0ce..6bbf335e7db7 100644 --- a/nixos/modules/tasks/encrypted-devices.nix +++ b/nixos/modules/tasks/encrypted-devices.nix @@ -57,7 +57,7 @@ in config = mkIf anyEncrypted { assertions = map (dev: { - assertion = dev.label != null; + assertion = dev.encrypted.label != null; message = '' The filesystem for ${dev.mountPoint} has encrypted.enable set to true, but no encrypted.label set ''; |