Add support for systemd timers
nix-gc.timer: Fix the start time
Hack: force timers.target to be started

Usually timers.target is pulled in by basic.target, but we don't
restart basic.target.  So timers.target wouldn't be started when
coming from an older systemd.
Sync after installing the boot loader

Previously we synced just before calling switch-to-configuration.
That prevents corruption of the Nix store, but it can leave the boot
loader configuration and kernel files in /boot corrupted.  So do the
sync after installing the boot loader.
Bitlbee: updated for systemd; added more options like AuthMode
Bitlbee: hardcode username and configdir; homedir == configdir
Bitlbee: tabs to spaces
pam: adding otpw optional, default false
Setting pam otpw *after* pam_unix, for dovecot failed auth messages.

I think it's nice that it first asks the usual password, and then offers the
otpw one if enabled. That enables dovecot to show the last pam prompt.

I also add the dovecot option for that.
Remove /etc lock files at boot time
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>
Bitlbee: create homedir; do not use /etc/bitlbee.conf
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