anchor.diff:      users.extraUsers = singleton
         { name = "kdm";
           uid = config.ids.uids.kdm;
  -        description = "kdm user";
  -        home = "/tmp/kdm";
  +        description = "KDM user";
         };
   
     };
  
positive.code:   
      services.xserver.displayManager.job =
        { execCmd =
            (optionalString (config.system.boot.loader.id == "grub") "PATH=${config.system.build.grub}/sbin:$PATH ") +
            "KDEDIRS=${kdebase_workspace} exec ${kdebase_workspace}/bin/kdm -config ${kdmrc} -nodaemon";
          logsXsession = true;
        };
  
  
negative.code:       HaltCmd=${config.system.build.upstart}/sbin/halt
        RebootCmd=${config.system.build.upstart}/sbin/reboot
        ${optionalString (config.system.boot.loader.id == "grub") ''
          BootManager=${if config.boot.loader.grub.version == 2 then "Grub2" else "Grub"}
        ''}
  
        [X-*-Core]
  