anchor.diff:          }
         ];
   
  -    # Ensure that the ALSA Pulse plugin appears in ALSA's search path.
  -    environment.pathsToLink = [ "lib/alsa-lib" ];
  -
     };
   
   }
  
positive.code:   config = mkIf config.hardware.pulseaudio.enable {
  
      environment.systemPackages =
        [ pkgs.pulseaudio pkgs.alsaPlugins ];
  
      environment.etc =
        [ # Write an /etc/asound.conf that causes all ALSA applications to
  
negative.code:         { target = "asound.conf";
            source = pkgs.writeText "asound.conf"
              ''
                pcm_type.pulse {
                  lib ${pkgs.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_pulse.so
                }
              
                pcm.!default {
                  type pulse
                  hint.description "Default Audio Device (via PulseAudio)"
                }
                
                ctl_type.pulse {
                  lib ${pkgs.alsaPlugins}/lib/alsa-lib/libasound_module_ctl_pulse.so
                }
              
                ctl.!default {
                  type pulse
                }
  