This previously didn't work because nextcloud believed we were running
http, when in reality we were running https.
Overwrite the protocol, so that nextcloud can authorize devices.
This needs to be done because the server does not support qemu, and
NixOS requires qemu to use the runAsRoot feature for docker images.
Instead, create the required files as part of the entrypoint.
Fixes#6
This is an initial configuration to restore old services.
Obviously, vendoring everything in a tarball is pretty awful, and if I
ever wanted to open source this, that would be a problem.
I intend to create a proper derivation in time, but including mods is
difficult from some initial experimentation.
Technically I could use a per-host configuration here and forego the
whole nextcloud nginx container, but for the time being it's simpler
to set the global upload limit to 16G as well.
Gitea simply offers better performance. I wasn't using all of GitLab's
features anyway, and while the missing CI is annoying, I hadn't
previously managed to set this up anyway, and it can be easily
replaced by something a bit more dedicated than GitLab's
implementation.
This should hopefully allow me to host git repositories without
compromising on memory/CPU time available to other services.