Hi everyone,
I recently changed my configuration.nix
from
...
networking.hostName = "nixos"; # Define your hostname.
...
to
...
networking.hostName = "my-hostname"; # Define your hostname.
...
The change seemingly worked, as
[mcncm]@cws:~]$ cat /etc/hostname
my-hostname
However, the NixOS box’s network interface (with the correct MAC address) is still showing up on my router’s (Netgear C6220) admin page with device name nixos
. Both the host and router have been rebooted since the name change. How is this possible?
Thank you!