[Nix-dev] using my own xorg.conf
Arie Middelkoop
amiddelk at gmail.com
Sat May 26 12:50:54 CEST 2012
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
More information about the nix-dev
mailing list