nixos: check resumeDevice is absolute path and document

Fixes #5219 after merging #4995.
opentsdb: patch shebangs in correct directory
classpath: fix build

(cherry picked from commit 3c9828fd772bcbf277bf5ca3179cf58e276cf629)
Signed-off-by: Domen Kožar <domen@dev.si>
folly: disable on 32bit (unsupported)

(cherry picked from commit 776d7962219f81e566b7822f6133479bca979b8e)
Signed-off-by: Domen Kožar <domen@dev.si>
remove libvlc, unused package

cc @ttuegel

(cherry picked from commit aaf998f604823b9bfb46ce0c193536235a0cf5f2)
Signed-off-by: Domen Kožar <domen@dev.si>
pythonPackages.pyptlib: disable tests
deluge: 1.3.10 -> 1.3.11
Merge #5286: ati-driver: Update to 4.12

(cherry picked from commit 80e3018bc0bde424e070856c4686fd1b42d19a4a)
nixos/gnome: enable MTP support in gvfs

To support browsing files on Android phones in Nautilus (and other GVFS
based file browsers).

(cherry picked from commit f3a46c3858993d46b2ac444f197912eb1f2caf0b)
nixos-install: Pass CA cert bundle to chroot.

Since we're using HTTPS for the binary cache (introduced in faf0797) by
default, the binary cache should also be available during installation.

The file that is defined in SSL_CERT_FILE outside of the chroot is
copied over to /tmp/ca-cert.crt inside the chroot, so we have an
absolute path we can reference during nixos-install. However, this might
end up with the file not being cleaned up properly from outside of the
store, but neither would be /tmp/root so the cleanup issue needs to be
solved in another place (or commit to be more exact).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
(cherry picked from commit cf7f15c92ca07d2d6d249fd2965b9e1950fb11a5)
Signed-off-by: Domen Kožar <domen@dev.si>
virtualbox: Allow disabling the network interface.

The current nixos module for VirtualBox unconditionally configures a vboxnet0
network interface at boot. This may be undesired, especially when the user wants
to manage network interfaces in a centralized manner.

(cherry picked from commit 9fa2c35ec8199951f217296e40f534c1e2e0f336)
Signed-off-by: Domen Kožar <domen@dev.si>
virtualbox: Unbreak the nixos module.

(cherry picked from commit 65393ca8d3b959657e16e402a3db3ac8f1fdb6ed)
Signed-off-by: Domen Kožar <domen@dev.si>
redmine: use libc libciconv implementation on Linux.

(cherry picked from commit 32f9644943e8772b33a58a4f7105b3dc7f38723d)
Signed-off-by: Domen Kožar <domen@dev.si>
Merge pull request #5280 from vcunat/p/hibernation

nixos: check resumeDevice is absolute path and document
Improve eudev paths in the same way as they are set in the original package
Fix fetchzip for actuall zip files

(cherry picked from commit 9ed097ab50201f75a6b81a3d0b5c74ad4b163f53)
Signed-off-by: Domen Kožar <domen@dev.si>
nixos: move kubernetes & fleet to services/cluster
Merge pull request #5310 from offlinehacker/kubernetes_fleet_rename

[14.12] nixos: move kubernetes & fleet to services/cluster
hhvm: 3.2.0 -> 3.3.0, fix build
nixos: Add gitlab and gitlab-shell

I had to make several adjustments to make it work with nixos:

* Replace relative config file lookups with ENV variable.
* Modify gitlab-shell to not clear then environment when running
  pre-receive.
* Modify gitlab-shell to write some environment variables into
  the .authorized_keys file to make sure gitlab-shell reads the
  correct config file.
* Log unicorn output to syslog.
  I tried various ways of adding a syslog package but the bundler would
  not pick them up. Please fix in a better way if possible.
* Gitlab-runner program wrapper.
  This is useful to run e.g. backups etc. with the correct
  environment set up.