Using /etc/lighttpd.conf "hides" the config file from NixOS so that it will not automatically restart the service when its config file changes. So don't do that.