Regenerating initramfs on atomic desktops doesn’t work with the dracut command AFAIK. Instead rpm-ostree initramfs with specific arguments should be used, but you can try with the ligher rpm-ostree initramfs-etc --track <path-to-file> first, it might be enough. See the man page of rpm-ostree for details.