{...}: {
  environment.persistence."/srv".directories = [
    {
      directory = "/var/lib/nix-sync";
      user = "nix-sync";
      group = "nix-sync";
      mode = "0700";
    }
  ];
}