Skip to content

Instantly share code, notes, and snippets.

@avisek
Created January 1, 2026 16:23
Show Gist options
  • Select an option

  • Save avisek/a93d2f2444f9911e90dc64cf6a78abeb to your computer and use it in GitHub Desktop.

Select an option

Save avisek/a93d2f2444f9911e90dc64cf6a78abeb to your computer and use it in GitHub Desktop.
{pkgs, ...}: {
nixpkgs.overlays = [
(final: prev: {
macos-audio-devices = prev.writeShellScriptBin "macos-audio-devices" ''
export PATH="${prev.nodejs}/bin:${prev.pnpm}/bin:$PATH"
exec ${prev.pnpm}/bin/pnpx macos-audio-devices "$@"
'';
})
];
environment.systemPackages = with pkgs; [
macos-audio-devices
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment