nixos: zfs: correct the networking.hostId error message

Users were confused that the error message said config.networking.hostId, and indeed that did nothing to fix their problem.

Update the error message to specify the option they should actually set.
This commit is contained in:
Graham Christensen
2017-12-20 17:56:03 -05:00
committed by GitHub
parent d30f5f8a2e
commit 9f31fe81aa

View File

@@ -268,7 +268,7 @@ in
assertions = [
{
assertion = config.networking.hostId != null;
message = "ZFS requires config.networking.hostId to be set";
message = "ZFS requires networking.hostId to be set";
}
{
assertion = !cfgZfs.forceImportAll || cfgZfs.forceImportRoot;