nix-flake/modules/system/homelab/docs.nix
satr14 4b2c7464f0
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 2m15s
cryptpad and copyparty
2026-04-13 08:16:16 +07:00

15 lines
No EOL
348 B
Nix

{ homelab, ... }: let
domain = "docs.${homelab.domain}";
in {
services.cryptpad = {
enable = true;
settings = {
httpPort = 7090;
websocketPort = 7080;
httpUnsafeOrigin = "https://${domain}";
httpSafeOrigin = "https://${domain}";
blockDailyCheck = true;
disableIntegratedEviction = true;
};
};
}