[Nix-dev] Modular config and lists
Mark Gardner
mkg at vt.edu
Mon Apr 24 22:00:21 CEST 2017
Hi Layus,
On Mon, Apr 24, 2017 at 3:54 PM, Layus <layus.on at gmail.com> wrote:
> Have you tried this ?
>
>
> ```nix
> { config, pkgs, ... }:
> {
> virtualisation.libvirtd.enable = true;
> users.users.myuser.extraGroups = [ "libvirtd" ];
> }
> ```
>
> This should seamlessly integrate with other options. By default lists will
> be concatenated, not overwritten.
>
No I didn't. I was assuming that the lists would conflict. I tried it and
it works. (Obviously my nix understanding is still being formed.)
Mark
--
Mark Gardner
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170424/7b63a9d4/attachment-0001.html>
More information about the nix-dev
mailing list