{
  allowUnfreePredicate = with builtins;
  let
    getName = pkg: (parseDrvName pkg.name).name;
  in pkg: elem (getName pkg) [
    "slack"
    "spotify"
  ];
}

{
  allowUnfreePredicate = with builtins;
  let
    getName = pkg: (parseDrvName pkg.name).name;
  in pkg: elem (getName pkg) [
    "slack"
    "spotify"
  ];
  pulseaudio = true;
}

Enable `pulseaudio` by default in Nix
Enable `pulseaudio` by default in Nix

Not 100% sure this is needed, but I added it in the process of getting
audio working in Nix-installed Slack.
