summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-11 20:02:25 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-11 21:41:15 -0400
commit361b5f7f6533c2b597057805b16bdf229d675d15 (patch)
tree13bd607a5f0d65883d6c8e27706b562cd319cda2 /nixos/modules/config
parentc0d5833156cd32086642207fbb026ab772d16822 (diff)
nixos/pulseaudio: don't autospawn ever
This is long been superseded by socket activation. Additonally using autospawn nudges some unpleasant GDM related issues.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/pulseaudio.nix3
1 files changed, 1 insertions, 2 deletions
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}
'';