anchor.diff:    cfg = config.services.xserver;
   
     optional = condition: x: if condition then [x] else [];
  -
  -  #Beryl parameters
  -  #berylcore
  -  #berylmanager
  -  #berylemerald
   
     # Get a bunch of user settings.
     videoDriver = cfg.videoDriver;
  
positive.code:       ${compiz}/bin/compiz gconf ${renderingFlag}&
        ${compiz}/bin/gtk-window-decorator --sync &
      "
      #else if windowManager == "beryl" then "
      #  ${berylmanager}/bin/beryl-manager &
      #"
  
      else if windowManager == "none" then "
  
        # The session starter will start the window manager.
  
negative.code: 
      ${if videoDriver == "nvidia"
        then "env XORG_DRI_DRIVER_PATH=${nvidiaDrivers}/X11R6/lib/modules/drivers/"
      else if cfg.driSupport
        then "env XORG_DRI_DRIVER_PATH=${mesa}/lib/modules/dri"
        else ""
      } 
  