lighttpd: restart service if config changes

Using /etc/lighttpd.conf "hides" the config file from NixOS so that it
will not automatically restart the service when its config file changes.
So don't do that.
fixes #127
Fix missed kernel->kernelDev change

Signed-off-by: Shea Levy <shea@shealevy.com>
Use the new net.ifnames kernel command line flag to disable persistent interface names

Signed-off-by: Shea Levy <shea@shealevy.com>
Merge branch 'lighttpd' of git://github.com/bjornfor/nixos into upstream-master

Moves config file into the store rather than polluting etc, which has a
number of benefits

Signed-off-by: Shea Levy <shea@shealevy.com>
Let resolvconf 'restart' the nscd service instead of 'reload'ing it.

Sometimes nscd starts up before a /etc/resolv.conf file has been written, and
apparently triggering a cache flush (reload) is not good enough to make it
recover from that problem. To remedy the issue, we restart the service instead.
See <https://github.com/NixOS/nixos/issues/34> for further details.
modules/config/networking.nix: strip trailing whitespace
Enable sudoedit
Create an empty /etc/resolv.conf to shut up nscd
Revert "Use the new net.ifnames kernel command line flag to disable persistent interface names"

As @edolstra pointed out, this behavior is not equivalent to what we had
before as the kernel command line parameter won't take effect until the
next boot. Probably it's not likely that someone will make this change
and then add a network card before rebooting, but might as well support
that since we can.

This reverts commit f7563698dfcc4621cc996142b046c6a4941e68ec.

Signed-off-by: Shea Levy <shea@shealevy.com>