From 361b5f7f6533c2b597057805b16bdf229d675d15 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Fri, 11 Oct 2019 20:02:25 -0400 Subject: nixos/pulseaudio: don't autospawn ever This is long been superseded by socket activation. Additonally using autospawn nudges some unpleasant GDM related issues. --- nixos/modules/config/pulseaudio.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos/modules/config') diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix index 5c3e39302583..b3bc4a451aa0 100644 --- a/nixos/modules/config/pulseaudio.nix +++ b/nixos/modules/config/pulseaudio.nix @@ -51,8 +51,7 @@ let # that we can disable the autospawn feature in programs that # are built with PulseAudio support (like KDE). clientConf = writeText "client.conf" '' - autospawn=${if nonSystemWide then "yes" else "no"} - ${optionalString nonSystemWide "daemon-binary=${binary}"} + autospawn=no ${cfg.extraClientConf} ''; -- cgit 1.4.1