From f151f4c8163142e795c47fc81aef481de6294195 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sat, 15 Nov 2014 20:31:43 +0200 Subject: [PATCH] KDE4: fix sound using the old gstreamer approach; the correct way would be to wrap each and every phonon client, or patch phonon's search path --- nixos/modules/services/x11/desktop-managers/kde4.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/kde4.nix b/nixos/modules/services/x11/desktop-managers/kde4.nix index 5c783fdbcedd..f7579fce7b5a 100644 --- a/nixos/modules/services/x11/desktop-managers/kde4.nix +++ b/nixos/modules/services/x11/desktop-managers/kde4.nix @@ -161,6 +161,10 @@ in environment.pathsToLink = [ "/share" ]; + environment.profileRelativeEnvVars = mkIf (lib.elem "gstreamer" cfg.phononBackends) { + GST_PLUGIN_SYSTEM_PATH = [ "/lib/gstreamer-0.10" ]; + }; + environment.etc = singleton { source = "${pkgs.xkeyboard_config}/etc/X11/xkb"; target = "X11/xkb";