anchor.diff:      environment.etc."alsa/conf.d/50-pipewire.conf" = mkIf cfg.alsa.enable {
         source = "${pkgs.pipewire}/share/alsa/alsa.conf.d/50-pipewire.conf";
       };
  +    environment.sessionVariables.LD_LIBRARY_PATH = "/run/current-system/sw/lib/pipewire";
     };
   }
  
positive.code:           '';
          };
        };
      };
    };
  
  
    ###### implementation
    config = mkIf cfg.enable {
      environment.systemPackages = [ pkgs.pipewire ];
  
      systemd.packages = [ pkgs.pipewire ];
  
  
negative.code:                            && pkgs.stdenv.isx86_64
                             && pkgs.pkgsi686Linux.pipewire != null;
  
    jack-libs = pkgs.runCommand "jack-libs" {} ''
      mkdir -p "$out/lib"
      ln -s "${pkgs.pipewire.lib}/lib/pipewire-0.3/jack" "$out/lib/pipewire"
    '';
    pulse-libs = pkgs.runCommand "pulse-libs" {} ''
      mkdir -p "$out/lib"
      ln -s "${pkgs.pipewire.lib}/lib/pipewire-0.3/pulse" "$out/lib/pipewire"
    '';
  in {
  
    meta = {
  