This removes all existing services as well, in preparation of moving
them to `podman`. These are easier to update to
virtualisation.oci-containers while retaining the "networks" through
pods.
This changed because of a migration from postgresql 12 -> 13. Future
versions should probably be named with the database version appended,
rather than "new", but for now this is how the system is set up.
Previously this would add a checksum to the name because it would use
the name provided by nixos, which of course would make minecraft not
read the server properties file.
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.
The upstream docker-containers options don't support networks, and
they're quite difficult to patch from downstream.
For now, vendor it a little, and patch it up to support networks.
It's unlikely that upstream would take this patch, since it is a
little hacky.