assertion should check for encrypted.label of the defined fileSystem
This commit is contained in:
parent
63f56e0d2f
commit
748ef34f09
@ -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 New Issue
Block a user