nixpkgs/nixos/modules/tasks
Michael Weiss a6afdbb70b
nixos: Allow empty hostnames again
This fixes a regression from 993baa587c which requires
networking.hostName to be a valid DNS label [0].
Unfortunately we missed the fact that the hostnames may also be empty,
if the user wants to obtain it from a DHCP server. This is even required
by a few modules/images (e.g. Amazon EC2, Azure, and Google Compute).

[0]: https://github.com/NixOS/nixpkgs/pull/76542#issuecomment-638138666
2020-06-03 15:23:37 +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
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: Allow empty hostnames again 2020-06-03 15:23:37 +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