This is my flakeless configuration for macOS using nix
{ ... }:
{
  xdg.dataFile."emergency".source = ./scripts;
}