assertion should check for encrypted.label of the defined fileSystem
This commit is contained in:
parent
63f56e0d2f
commit
748ef34f09
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue