blob: 834db885e062d95f1170557af0a16a615010d710 [file] [log] [blame]
Skyler Grey8b0e52f2023-05-01 21:31:07 +00001{ config, pkgs, lib, ... }: {
Skyler Grey4f3e6062023-03-04 01:29:29 +00002 services.caddy.enable = true;
Skyler Grey8b0e52f2023-05-01 21:31:07 +00003 services.caddy.configFile = ./caddy/caddy.json;
4 services.caddy.package = pkgs.callPackage ../packages/caddy.nix {
5 vendorSha256 = "sha256-3KcoOAB+YkOU8qKM75uQo58/dljRBmP25dionr9r2dc=";
6 };
7 services.caddy.user = "root";
8 systemd.services.caddy.serviceConfig.ProtectHome = lib.mkForce false;
Skyler Grey4f3e6062023-03-04 01:29:29 +00009}