From 2077956e7813fcc57f45d07a4b46715d0cd592ce Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 20 Nov 2021 01:32:55 +0200 Subject: nixos/network-interfaces: add a warning for underscores in hostname until the issues in https://github.com/NixOS/nixpkgs/pull/138978 have been resolved --- nixos/modules/tasks/network-interfaces.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 4e20ec1184641..38b7f66bae4f5 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -417,7 +417,11 @@ in network node hostname (uname --nodename) the option boot.kernel.sysctl."kernel.hostname" can be used as a workaround (but the 64 character limit still applies). + + WARNING: Do not use underscores (_) or you may run into unexpected issues. ''; + # warning until the issues in https://github.com/NixOS/nixpkgs/pull/138978 + # are resolved }; networking.fqdn = mkOption { -- cgit 1.4.1