Skip to content

Commit

Permalink
nixos: zfs: correct the networking.hostId error message
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
grahamc committed Dec 20, 2017
1 parent d30f5f8 commit 9f31fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/tasks/filesystems/zfs.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 9f31fe8

Please sign in to comment.