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:                 sed -e '/nix\\store\|nix\/store/ d' -i $HOME/.config/Trolltech.conf
              fi
  
              ${optionalString (!isKDE47) ''
                export DBUS_FATAL_WARNINGS=0
              ''}
  
              # Start KDE.
              exec ${pkgs.kde4.kdebase_workspace}/bin/startkde
            '';
  
negative.code:           pkgs.shared_desktop_ontologies # used by nepomuk
            pkgs.strigi # used by nepomuk
          ]
        ++ [ nepomukConfig ]
        ++ config.environment.kdePackages;
  
  