This is my flakeless configuration for macOS using nix
{ pkgs, ... }:
let
  nixvim = import (builtins.fetchGit {
    url = "https://github.com/nix-community/nixvim";
  });
in
{
  imports = [
    nixvim.homeManagerModules.nixvim
    ./launchd.nix
    ./shell.nix

    ./tools
    ./editors
    ./languages
  ];
  nixpkgs = {
    config.allowUnfree = true;
    overlays = [ (import <rust-overlay>) ];
  };  
  home.stateVersion = "23.11";
}