diff options
author | Graham Christensen <graham@grahamc.com> | 2017-12-20 17:56:03 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-12-20 17:57:30 -0500 |
commit | fe7473443bc50cf042969010bbe722446e3b2b89 (patch) | |
tree | 84a9a3cc4458e0ad7ac725a10ff1c1b2284e8fff /nixos | |
parent | 150e2b56212dbbe814735f27174c2ef07ac24464 (diff) |
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. (cherry picked from commit 9f31fe81aadd988d7c395645023d94901b9cb588)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 7fee99115329f..2c0a165887bd8 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -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; |