[Nix-dev] using my own xorg.conf
James Cook
james.cook at utoronto.ca
Sun May 27 08:41:00 CEST 2012
> Have you tried mkOverride ? Options are by default merged based on
> the type of the option. strings are concatenated, but mkOverride is
> getting rid of al other definitions and replace them by your current
> one. So, at best you should never have to modify NixOS files.
>
> services.xserver.config = pkgs.lib.mkOverride 50 (builtins.readFile
> ./xorg.conf);
That worked perfectly; thanks. Looks like I've got some reading to do!
James
More information about the nix-dev
mailing list