read-only-store functionality should apply even when /nix/store is on a separate filesystem
nslcd: Require network.target
Silence a harmless warning on kernels without the 'path' parameter for firmware_class.
Add /run/nss to LD_LIBRARY_PATH

This fixes issues with glibc-binaries (getent for example) that can't
find NSS modules that are not distributed with glibc.

See this discussion:
http://comments.gmane.org/gmane.linux.distributions.nixos/9940
readOnlyStore: Don't do a read-only bind-mount of an already read-only store.

Signed-off-by: Shea Levy <shea@shealevy.com>
readonly-mountpoint: Remove unusued variable
Don't mount /nix/store ro if it's a mountpoint

In principle this could work, but the current remount logic in nix fails
to remount mountpoints that are root in their own filesystem (as would
be the case with bind-mounting a mountpoint over itself). nixos/nix#98
is aimed at fixing this.

Signed-off-by: Shea Levy <shea@shealevy.com>
Add Transmission BitTorrent service

Enable it with

  services.transmission.enable = true;

and optionally configure it

  services.transmission.settings =
    {
      download-dir = "/srv/torrents/";
      incomplete-dir = "/srv/torrents/.incomplete/";
      incomplete-dir-enabled = true;
      rpc-whitelist = "127.0.0.1,192.168.*.*";
      # for users in group "transmission" to have access to torrents
      umask = 2;
    };

The above settings are written/merged into settings.json each time the
service is about to start.
Merge pull request #110 from bjornfor/transmission-service

Add Transmission BitTorrent service
xfce: update the xinitrc path
Console key map: Make option uniq

Signed-off-by: Shea Levy <shea@shealevy.com>
smartd: change 'devices' option from "list of strings" to "list of attribute sets"

The smartd used to expect a list of devices to monitor. After this patch, it
expects a list of attribute sets, which may have two attributes:

 - device: path to the device (required)
 - options: smartd options to apply to this particular device (optional)

A concrete example configuration would be:

  services.smartd = {
    enable = true;
    devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ];
  };

Furthermore, the config option 'deviceOpts' can be used to configure options
that are applied to *every* device.
need a newline in extraModprobeConfig
Merge pull request #119 from jcumming/zfs.130311

need a newline in extraModprobeConfig
Revert "nslcd: Require network.target"

This reverts commit af152556e3d23ff0285691b60870ef6ea7813df6.

The network target is probably not really required, needs
further testing.
extraModprobeConfig: set type to types.lines

This makes it so multiple definitions are merged by adding a newline
between each entry, to avoid the need to add a newline to the end of
every definition of extraModprobeConfig. See #119 for an example of an
issue this has caused.

Signed-off-by: Shea Levy <shea@shealevy.com>
symlink /etc/localtime was broken, /etc/localtime now points to a location in tzdata in stead of glibc
Merge pull request #116 from rickynils/nss

Add /run/nss to LD_LIBRARY_PATH
alsa-store.service: Ensure /var/lib/alsa exists

Signed-off-by: Shea Levy <shea@shealevy.com>
alsa-store.service: Avoid unnecessary shell

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