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 [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
cpu-freq.nix nixos/cpufreq: Remove the alias to set the cpu frequency governor 2019-01-03 20:57:49 +09:00
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 Don't enable LVM2 in containers 2014-04-15 23:43:39 +02:00
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 [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
swraid.nix systemd service: remove generator-packages option 2019-08-01 00:55:35 +03:00
trackpoint.nix trackpoint: Make the device name configurable 2018-08-06 02:56:32 +02:00
tty-backgrounds-combine.sh Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00