On 26/05/12 06:19, James Cook wrote:
> 1. Patch modules/services/x11/xserver.nix to remove
> "services.xserver.config = '' ... ''". If I don't do this, then the
> resulting x.org configuration consists of the default configuration
> concatenated with my configuration.

This attribute is configured so that multiple definitions of it are 
merged by concatenation (I guess?). I wonder if there would be a way to 
specify overrides for after this process, e.g. that you have some 
overrides-like somewhere that allows you to write some final 
transformation functions to be applied to them:

> config.overrides {
>   services.xserver.config = oldValue: "my own";
> }

I'd expect that something like that can be realized, although it would 
only be useful for end-users.

Arie
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to