anchor.diff:        };
   
       # Enable helpful DBus services.
  -    services.hal = mkIf (!isKDE47) { enable = true; };
  -    services.udisks = mkIf isKDE47 { enable = true; };
  -    services.upower = mkIf (isKDE47 && config.powerManagement.enable) { enable = true; };
  +    services.udisks.enable = true;
  +    services.upower = mkIf config.powerManagement.enable { enable = true; };
   
       security.pam.services = [ { name = "kde"; allowNullPassword = true; } ];
   
  
positive.code:   xcfg = config.services.xserver;
    cfg = xcfg.desktopManager.kde4;
    xorg = pkgs.xorg;
  
    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
  
negative.code:           pkgs.shared_desktop_ontologies # used by nepomuk
            pkgs.strigi # used by nepomuk
          ]
        ++ [ nepomukConfig ]
        ++ config.environment.kdePackages;
  
  