Author: eelco
Date: Mon Oct 31 21:04:39 2011
New Revision: 30155
URL: https://nixos.org/websvn/nix/?rev=30155&sc=1

Log:
* 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.

Modified:
   nixos/trunk/modules/services/x11/desktop-managers/kde4.nix

Modified: nixos/trunk/modules/services/x11/desktop-managers/kde4.nix
==============================================================================
--- nixos/trunk/modules/services/x11/desktop-managers/kde4.nix  Mon Oct 31 
18:50:12 2011        (r30154)
+++ nixos/trunk/modules/services/x11/desktop-managers/kde4.nix  Mon Oct 31 
21:04:39 2011        (r30155)
@@ -10,6 +10,24 @@
 
   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 @@
           pkgs.shared_desktop_ontologies # used by nepomuk
           pkgs.strigi # used by nepomuk
         ]
-      ) ++ config.environment.kdePackages;
+      )
+      ++ [ nepmukConfig ]
+      ++ config.environment.kdePackages;
 
     environment.pathsToLink = [ "/share" ];
 
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to