git.iko.soy/typeable/nixpkgs
on master help sign in
assertion should check for encrypted.label of the defined fileSystem
commit748ef34f098451652a785455953667520ca14fa4 authorRok Garbas <rok@garbas.si> dateMon 25 Sep 2017, 00:45 (9 years ago) parent63f56e0
1 file changed+1−1
nixos/modules/tasks/encrypted-devices.nix+1−1
nixos/modules/tasks/encrypted-devices.nix+1−1
@@ -57,7 +57,7 @@ in
5757
5858 config = mkIf anyEncrypted {
5959 assertions = map (dev: {
60− assertion = dev.label != null;
60+ assertion = dev.encrypted.label != null;
6161 message = ''
6262 The filesystem for ${dev.mountPoint} has encrypted.enable set to true, but no encrypted.label set
6363 '';