Nix configurations for my homelab
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 443 B View raw
1{ ... }: 2{ 3 environment.persistence."/data/persistent".directories = [ 4 { 5 directory = "/var/lib/caddy"; 6 user = "caddy"; 7 group = "caddy"; 8 mode = "700"; 9 } 10 ]; 11 12 networking.firewall = { 13 allowedTCPPorts = [ 14 80 15 443 16 ]; 17 allowedUDPPorts = [ 443 ]; 18 }; 19 20 services.caddy = { 21 enable = true; 22 email = "acme@mou.pink"; 23 acmeCA = "https://acme-v02.api.letsencrypt.org/directory"; 24 }; 25}