From cf03194d591ed878a4bc78eaa821bb089adad7c0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 31 Oct 2011 21:04:39 +0000 Subject: [PATCH] * Disable Nepomuk/Strigi by default because they cause problems (e.g. segfaults whn loggin in to the NixOS graphical ISO) and don't really work very well (e.g. fail to find files). They can be re-enabled in the KDE System Settings. svn path=/nixos/trunk/; revision=30155 --- .../services/x11/desktop-managers/kde4.nix | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/modules/services/x11/desktop-managers/kde4.nix b/modules/services/x11/desktop-managers/kde4.nix index 1bea3592c262..9ea5469d31fc 100644 --- a/modules/services/x11/desktop-managers/kde4.nix +++ b/modules/services/x11/desktop-managers/kde4.nix @@ -10,6 +10,24 @@ let isKDE47 = pkgs.kde4 ? kde_wallpapers; + # Disable Nepomuk and Strigi by default. As of KDE 4.7, they don't + # really work very well (e.g. searching files often fails to find + # files), segfault sometimes and consume significant resources. + # They can be re-enabled in the KDE System Settings under "Desktop + # Search". + nepomukConfig = pkgs.writeTextFile + { name = "nepomuk-config"; + destination = "/share/config/nepomukserverrc"; + text = + '' + [Basic Settings] + Start Nepomuk=false + + [Service-nepomukstrigiservice] + autostart=false + ''; + }; + in { @@ -138,7 +156,9 @@ in pkgs.shared_desktop_ontologies # used by nepomuk pkgs.strigi # used by nepomuk ] - ) ++ config.environment.kdePackages; + ) + ++ [ nepmukConfig ] + ++ config.environment.kdePackages; environment.pathsToLink = [ "/share" ];