Make collabora container start in privileged mode
The collabora container uses some capabilities to mount jails, which turns out
to be a lot faster than just copying the files. As collabora being in a working
state is required to load nextcloud, this was causing significant slowness.
Adding privileged fixes this slowness.
Change-Id: Ib5cff691886fa9be78e7e3284855d6575bb90cbe
Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/361
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/common/collabora.nix b/modules/common/collabora.nix
index 0ff7c10..e76613b 100644
--- a/modules/common/collabora.nix
+++ b/modules/common/collabora.nix
@@ -13,6 +13,7 @@
};
extraOptions = [
"--pull=always"
+ "--privileged" # needed for fast jail creation via bind mounts
];
};
virtualisation.oci-containers.backend = "docker";