Just start with a reasonable Nix config and take it from there by comparing with nix-darwin and home-manager configuration pages.
I know people who did it over a weekend.