This is my flakeless configuration for macOS using nix
{ pkgs, ... }:
{
  home.packages = with pkgs; [
    gleam
    erlang
  ];
  programs.nixvim.plugins.lsp.servers.gleam = {
    enable = true;
  };
}