mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
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:
parent
d30f5f8a2e
commit
9f31fe81aa
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue