aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/web/blog.nix
blob: 49ebb876ed2a08673d88379ca470c28686497a73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ inputs, pkgs, ... }: {
  imports = [ ./acme.nix ];
  networking.firewall.allowedTCPPorts = [ 80 443 ];

  services.nginx = {
    enable = true;

    virtualHosts."sorre.xyz" = {
      enableACME = true;
      forceSSL = true;
      root = inputs.sorre-website.packages.${pkgs.system}.default;
    };
  };
}