Add ZNC module

I'm running a ZNC server on my NixOS machine. I'd like to move it into a module, which uses systemd to start and manage it.

How does this module look? I'm curious to hear about my creating a user and group, and about the uid and gid for those. Are we really managing a central list of these ids? That list says that there's a max of ~300 ids. Is that right? This doesn't seem like a sustainable thing.
On Tue, Jun 24, 2014 at 3:47 PM, Alex Berg <notifications@github.com> wrote:

> But wait, the ZNC package needs to be installed, right? That was my
> intention with adding it to systemPackages - to ensure it is installed
> for when the service tries to start it.
>

Don't confuse environment.systemPackages with "installing" it. As soon as
you access pkgs.znc somewhere (e.g. in the systemd startup script), Nix
will realize the expression and put the result (the package) into the
nix-store. environment.systemPackages is merely a simple way to make
software available to the "generic" system via PATH.