diff options
author | Graham Christensen <graham@grahamc.com> | 2017-12-20 17:56:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-20 17:56:03 -0500 |
commit | 9f31fe81aadd988d7c395645023d94901b9cb588 (patch) | |
tree | 3b274904aa41217c2e5fd03f3cfac1054b4611cd /nixos/modules/tasks/filesystems | |
parent | d30f5f8a2e3511d8b88f2c03334fff13b9c2ff44 (diff) | |
download | nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar.gz nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar.bz2 nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar.lz nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar.xz nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.tar.zst nixlib-9f31fe81aadd988d7c395645023d94901b9cb588.zip |
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.
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-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 7fee99115329..2c0a165887bd 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; |