Michael Weiss 993baa587c
nixos: Require networking.hostName to be a valid DNS label
This also means that the hostname must not contain the domain name part
anymore (i.e. must not be a FQDN).
See RFC 1035 [0], "man 5 hostname", or the kernel documentation [1].
Note: For legacy reasons we also allow underscores inside of the label
but this is not recommended and intentionally left undocumented.

[0]: https://tools.ietf.org/html/rfc1035
[1]: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#domainname-hostname

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-05-25 18:13:39 +02:00
..
2020-02-10 14:14:18 -05:00
2018-05-01 19:57:09 -04:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-11-15 00:32:09 +01:00
2020-04-22 01:02:11 +02:00