Re: [Nix-dev] simple php/apache server

2012-09-02 Thread Rob Vermaas
Hi Matthijs, I think there are some examples of PHP setup in https://nixos.org/repos/nix/configurations/trunk/ Cheers, Rob On Sun, Sep 2, 2012 at 1:42 AM, Mathijs Kwik wrote: > Hi all, > > I would like to setup a server environment for some simple php scripts. > Setting up apache on nixos was e

Re: [Nix-dev] simple php/apache server

2012-09-02 Thread Mathijs Kwik
Thanks, I already figured it out I think. I just define a custom subservice which doesn't do much except for enablePHP = true; Then I write a custom config section to use index.php. It seems to work now. I'll look at some examples once I clean this up :) On Sun, Sep 2, 2012 at 9:26 AM, Rob Verma

Re: [Nix-dev] xen on nixos

2012-09-02 Thread Jan Malakhovski
Hi Marco, This happens because xend hangs at startup. Try applying patches from this pull request for nixpkgs (not merged into master for a month without a reason): https://github.com/NixOS/nixpkgs/pull/93 Pull request comments and changeset comments elaborate on the problem. Best regards, Jan

Re: [Nix-dev] NixOS on systemd

2012-09-02 Thread LluĂ­s Batlle i Rossell
On Thu, Aug 30, 2012 at 02:51:14PM -0400, Eelco Dolstra wrote: > For the last few months I've been working on and off on replacing Upstart with > systemd as NixOS's init system. This is now in a fairly usable state. (I'm > running it on my own laptop, but it hasn't been widely tested and there ar