configuration.nix/hosts/shared/caddy.nix

9 lines
218 B
Nix

{ inputs, pkgs, ... }: {
services.caddy = {
enable = true;
package = inputs.caddy.packages.${pkgs.system}.caddy;
email = "admin@acomputer.lol";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}