
It seems like Gitlab doesn't pick up GITLAB_UPLOADS_PATH. The internal uploads folder is already symlinked to /run/gitlab/uploads by the gitlab package. Here we symlink this further to ${statePath}/uploads, since /run is (usually) a tmpfs.
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.