Bitlbee: updated for systemd; added more options like AuthMode
Bitlbee: hardcode username and configdir; homedir == configdir
Bitlbee: tabs to spaces
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
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>
xbmc: Use /var/run/lirc/lircd as lirc socket

The latest version of the lirc daemon uses /var/run/lirc/lircd, not
/dev/lircd that xbmc uses as default.
udisks2: add udisks2 service

Udisks2 is a Dbus service started by systemd on demand.
Xfce: use udisks2 instead of udisks

Enabling udisks2 allows gvfs (which should be built with udisks support) to
perform mount/unmount operations on removable drives. It affects Thunar and
probably other Gtk-based file managers.

Gvfs doesn't supports earlier versions of udisks.
PostgreSQL: Don't specify a default PostgreSQL package

The user should specify which major version to use
(e.g. "services.postgresql.package = pkgs.postgresql92").  We can't
really provide a sensible default, because such a default would have
to be updated from time to time, and there is no automated upgrade
procedure.  So leave upgrading to the user.
xsession: remove duplicate sourcing of /etc/profile
remove redundant if
xsession: add config option to let systemd handle lid/power events
add e17 desktop manager

desktop-manager is a bit misleading in this case as there is no
session yet and most apps are still missing. This can eventually
grow further once more e17 apps get packaged for nix.

However, for now, I need to initialize some e17 dbus services to
have the "terminology" terminal emulator provide gfx previews.
postgresql: version the dataDir by default

Among other things, this will make migrating between versions easier

Signed-off-by: Shea Levy <shea@shealevy.com>
Fix nixos evaluation on systems that haven't set postgresql.package

Signed-off-by: Shea Levy <shea@shealevy.com>
Revert "Fix nixos evaluation on systems that haven't set postgresql.package"

This reverts commit 1e543984bcaf5c9e2c26a1b3de86ffa4d9fe7ba3.

This would have been nice if we had had it from the start, but now it
just breaks things for existing users. Maybe we can add it conditionally
when new postgres versions come out.

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