[Nix-dev] Some feedback on the xserver in the modular NixOS 	branch
    Eelco Dolstra 
    e.dolstra at tudelft.nl
       
    Fri May 29 17:09:11 CEST 2009
    
    
  
Nicolas Pierron wrote:
> On Fri, May 29, 2009 at 16:22, Sander van der Burg - EWI
> <S.vanderBurg at tudelft.nl> wrote:
>> I had to enable the kdm attribute *and* I had to disable slim otherwise and
>> error is thrown. I think this should be handled a bit different. We should
>> enable only one display manager at the same time and therefore not
>> explicitly specifying to disable slim in this case.
> 
> Ok.  I let you remember that Slim should not depends on KDM and that
> KDM should not depends on Slim.  So how to do that?
> The only way to do such thing is to add an attribute which contains
> the name of the display manager which have to be activated and in each
> display manager we should replace the "mkIf cfg.enable" by "mkIf
> dmcfg.name = "kdm" ".
Sounds good.  And to provide a sensible error message if you give a non-existant
value to services.xserver.displayManager.name, there should be a check in the X
server expression that services.xserver.displayManager.job is actually defined.
-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
    
    
More information about the nix-dev
mailing list