d06de760f8
The toplevel derivations of systems that have `networking.hostName` set to `""` (because they want their hostname to be set by DHCP) used to be all named `nixos-system-unnamed-${config.system.nixos.label}`. This makes them hard to distinguish. A similar problem existed in NixOS tests where `vmName` is used in the `testScript` to refer to the VM. It defaulted to the `networking.hostName` which when set to `""` won't allow you to refer to the machine from the `testScript`. This commit makes the `system.name` configurable. It still defaults to: ``` if config.networking.hostName == "" then "unnamed" else config.networking.hostName; ``` but in case `networking.hostName` needs to be to `""` the `system.name` can be set to a distinguishable name. |
||
---|---|---|
.. | ||
amazon-image.nix | ||
amazon-init.nix | ||
amazon-options.nix | ||
anbox.nix | ||
azure-agent-entropy.patch | ||
azure-agent.nix | ||
azure-bootstrap-blobs.nix | ||
azure-common.nix | ||
azure-config-user.nix | ||
azure-config.nix | ||
azure-image.nix | ||
azure-images.nix | ||
brightbox-config.nix | ||
brightbox-image.nix | ||
cloudstack-config.nix | ||
container-config.nix | ||
containers.nix | ||
cri-o.nix | ||
digital-ocean-config.nix | ||
digital-ocean-image.nix | ||
digital-ocean-init.nix | ||
docker-image.nix | ||
docker-preloader.nix | ||
docker.nix | ||
ec2-amis.nix | ||
ec2-data.nix | ||
ec2-metadata-fetcher.nix | ||
ecs-agent.nix | ||
gce-images.nix | ||
google-compute-config.nix | ||
google-compute-image.nix | ||
grow-partition.nix | ||
hyperv-guest.nix | ||
hyperv-image.nix | ||
kvmgt.nix | ||
libvirtd.nix | ||
lxc-container.nix | ||
lxc.nix | ||
lxcfs.nix | ||
lxd.nix | ||
nixos-containers.nix | ||
oci-containers.nix | ||
openstack-config.nix | ||
openvswitch.nix | ||
parallels-guest.nix | ||
podman.nix | ||
qemu-guest-agent.nix | ||
qemu-vm.nix | ||
railcar.nix | ||
virtualbox-guest.nix | ||
virtualbox-host.nix | ||
virtualbox-image.nix | ||
vmware-guest.nix | ||
vmware-image.nix | ||
xe-guest-utilities.nix | ||
xen-dom0.nix | ||
xen-domU.nix |