nixos/dnsmasq: Fix regressions during the systemd update

Don't merge this until I've confirmed this is the intended behavior with users of these options.