fix 2: point to private
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 30s

This commit is contained in:
Satria 2026-05-01 17:22:52 +07:00
commit 83e174cc6b

View file

@ -1,9 +1,7 @@
{ lib, homelab, ... }: let { homelab, ... }: let
domain = "docs.${homelab.domain}"; domain = "docs.${homelab.domain}";
sandbox = "docs-sandbox.${homelab.domain}"; sandbox = "docs-sandbox.${homelab.domain}";
in { in {
systemd.services.cryptpad.confinement.enable = lib.mkForce false;
services.cryptpad = { services.cryptpad = {
enable = true; enable = true;
settings = { settings = {
@ -17,7 +15,7 @@ in {
}; };
}; };
fileSystems."/var/lib/cryptpad" = { fileSystems."/var/lib/private/cryptpad" = {
device = "/mnt/data/apps/cryptpad"; device = "/mnt/data/apps/cryptpad";
depends = [ "/mnt/data" ]; depends = [ "/mnt/data" ];
options = [ "bind" "nofail" ]; options = [ "bind" "nofail" ];