[Nix-dev] setting kdm?

Tony White tonywhite100 at googlemail.com
Sat Apr 11 02:37:34 CEST 2009


2009/4/10 Sander van der Burg - EWI <S.vanderBurg at tudelft.nl>:
> I'm still working on the kdm service. It is still not finished and properly
> tested.
>
> In order to use it you have to add a kdm service in your configuration.nix.
> Basically it should look something like this:
>
> {
>   ...
>
>   services = {
>     kdm = {
>       enabled = true;
>     };
>
>     xserver = {
>       enabled = false;
>       /* Your X server properties here */
>     }
>   };
> }
>
> The KDM service uses all X server settings from the services.xserver
> attribute set (yes I know this should be handled differently).
> Currently, the kdm service is a clone of the xserver upstart service
> modified to handle kdm. When the fixstyle-branche is merged we will
> implement a more cleaner and modular xserver upstart service.
>
> As I said, the kdm service is not finished yet, so I cannot guarantee that
> it will work for you.
>
> -----Oorspronkelijk bericht-----
> Van: nix-dev-bounces at cs.uu.nl namens Tony White
> Verzonden: vr 10-4-2009 21:19
> Aan: nix-dev
> Onderwerp: [Nix-dev] setting kdm?
>
> Is there an option to set kdm as the default display manager using
> configuration.nix and could someone please point me towards a working
> example, If they could.
>
> Thank you,
>
> Tony
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
>

Thanks for the info Sander,
I follow but not completely.
I can see that with kdm set like that in configuration.nix means that
xserver needs to be enabled = false because kdm is a clone of that but
do the xserver settings whilst this clone of the xserver config is
being used need to be in the kdm section?
What I mean is, If the settings are in the xserver section, Will they
still be used if I do set kdm = true?
So do I need to replicate them into the kdm section?

Sorry if it's silly question but I haven't explored the upstart jobs
yet, NixOS is still pretty new to me and I'm used to the old way of
managing services that Mandriva Linux still uses.

Thanks again,

Tony



More information about the nix-dev mailing list