configuration.nix/hosts/shared/caddy.nix

10 lines
218 B
Nix
Raw Normal View History

2024-09-14 16:07:45 +05:30
{ inputs, pkgs, ... }: {
2024-07-03 17:03:34 +05:30
services.caddy = {
enable = true;
2024-09-14 16:07:45 +05:30
package = inputs.caddy.packages.${pkgs.system}.caddy;
2024-07-03 17:03:34 +05:30
email = "admin@acomputer.lol";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
2024-07-03 17:03:34 +05:30
}