anchor.diff:  in
   {
     name = "kdm";
  -    
  +      
     job = ''
       description "KDE Display Manager"
   
  
positive.code:       Option "XkbOptions" "${cfg.xkbOptions}"
      '';
  
      xkbModel = cfg.xkbModel;
      layout = cfg.layout;
  
      corePointer = if cfg.synaptics.enable then "Touchpad[0]" else "Mouse[0]";
  
      internalAGPGART =
        if cfg.useInternalAGPGART == "yes" then
  
negative.code:     ''; # */
    };
  
  
    xsession = pkgs.writeText "Xsession" ''
      source /etc/profile
      
      session=$1
      
      export PATH=$PATH:${pkgs.xterm}/bin:${pkgs.qt4}/bin:${pkgs.dbus.libs}/bin:${pkgs.kde42.kdelibs}/bin:${pkgs.kde42.kdebase_workspace}/bin:${pkgs.xlibs.xset}/bin:${pkgs.xlibs.xsetroot}/bin:${pkgs.xlibs.xmessage}/bin:${pkgs.xlibs.xprop}/bin
      export XDG_CONFIG_DIRS=
      export XDG_DATA_DIRS=${pkgs.shared_mime_info}/share
      export KDEDIRS=${pkgs.kde42.kdelibs}:${pkgs.kde42.kdebase_workspace}
      
      case $session in
        "")
          xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
          ;;
        failsafe)
          xterm -geometry 80x24-0-0
          ;;
        custom)
          $HOME/.xsession
        ;;
        default)
          startkde
          ;;
        *)
        eval "$session"
        ;;
      esac
  
  