nixos-systems/modules/system/caddy.nix
Eli Ribble a26ed33b42 Switch to caddy, remove onlyoffice, add collabora
Most things work on this commit, except the integration between
collabora and seafile. I think it might be related to the timezone
change I made and a lack of access_token being passed in the URL.

I'm going to test that with a reboot. But first, checkpoint!
2025-07-18 22:45:02 +00:00

20 lines
366 B
Nix

{ config, lib, pkgs, configPath, ... }:
with lib;
{
options.myModules.caddy.enable = mkEnableOption "custom caddy configuration";
config = mkIf config.myModules.caddy.enable {
security.acme = {
acceptTerms = true;
defaults.email = "eli@gleipnir.technology";
};
services.caddy = {
enable = true;
logFormat = ''
level WARN
'';
};
};
}