[Nix-dev] Using Nixpkgs outside of NixOS

Wout Mertens wout.mertens at gmail.com
Fri May 30 00:13:36 CEST 2014


On Thu, May 29, 2014 at 10:23 PM, John Wiegley <johnw at newartisans.com>
wrote:

> >>>>> Wout Mertens <wout.mertens at gmail.com> writes:
>
> > I think there is room for improvement for installing and using nixpkgs on
> > another distribution.
>
> > I see two big problems:
> > 1. installation
> > 2. environment variables
>
> Also: setting up services to run when the system boots.  For example,
> Homebrew
> tells you how to add a symlinks in ~/Library/LaunchAgents so that
> PostgreSQL
> can start when the machine boots (it simply prints the command to the
> terminal
> as an informational message).  We can do the same thing with Nix, it's
> just a
> question of informing the user how.
>
> Is there anybody that knows how to set up systemd as non-PID-1 but still
as root? That would be awesome++, I could turn my Ubuntu 12.04 servers into
lean mean partially Nix-based service running machines.

Obviously systemd would then have to not do things that udev etc are
already doing... Just running services, opening sockets, handling cgroups...

Wout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140530/4307de84/attachment-0001.html 


More information about the nix-dev mailing list