3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/tasks
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
..
filesystems nixos/zfs: add missing dependendy nettools 2020-05-18 11:25:00 +02:00
auto-upgrade.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bcache.nix
cpu-freq.nix
encrypted-devices.nix silence warning from #63103 in encrypted-devices.nix 2020-02-18 20:58:40 -08:00
filesystems.nix nixos/filesystems: don't chown /run/keys recursively 2020-02-11 21:52:27 +01:00
lvm.nix
network-interfaces-scripted.nix nixos/scripted-networking: use udev to configure link MACAddress and MTUBytes 2020-05-22 10:58:00 +02:00
network-interfaces-systemd.nix nixos/networking: fix setting .macAddress and .mtu with networkd 2020-04-13 22:03:35 +02:00
network-interfaces.nix nixos: Require networking.hostName to be a valid DNS label 2020-05-25 18:13:39 +02:00
powertop.nix nixos/powertop: wait for hardware to initialize 2020-01-09 19:45:41 +08:00
scsi-link-power-management.nix
swraid.nix systemd service: remove generator-packages option 2019-08-01 00:55:35 +03:00
trackpoint.nix
tty-backgrounds-combine.sh