> 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
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to