1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/nixos/modules
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
..
config nixos/networking: Add the FQDN and hostname to /etc/hosts 2020-05-25 14:06:25 +02:00
hardware Merge pull request #73530 from eadwu/nvidia/systemd-pm 2020-05-12 13:54:45 +02:00
i18n/input-method Revert "ibus: fix dconf db installation" 2020-04-24 18:22:59 -04:00
installer Merge pull request #85996 from misuzu/nixos-install-low-memory 2020-05-08 18:40:24 +03:00
misc Update link in /etc/os-release (#85723) 2020-04-22 00:16:22 +02:00
profiles Merge pull request #74378 from ttuegel/lxc-container 2020-04-25 16:25:15 +02:00
programs Merge pull request #86643 from asbachb/zsh-bash-autocomplete 2020-05-19 11:57:25 +02:00
security Merge pull request #87016 from flokli/nsswitch-cleanup 2020-05-14 14:55:43 +02:00
services Merge pull request #75435 from Elyhaka/fprintd 2020-05-25 12:22:48 +02:00
system nixos/binfmt: move systemd-binfmt.service to binfmt module 2020-05-18 11:18:44 +02:00
tasks nixos: Require networking.hostName to be a valid DNS label 2020-05-25 18:13:39 +02:00
testing
virtualisation nixos/cri-o: default to upstream pause 2020-05-25 12:27:49 +02:00
module-list.nix Merge pull request #82753 from Kloenk/feature/engelsystem 2020-05-24 16:31:23 +02:00
rename.nix rkt: remove 2020-05-16 09:23:07 +10:00