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!
20 lines
366 B
Nix
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
|
|
'';
|
|
};
|
|
};
|
|
}
|