blob: 671674f3b0c17d83ac49fcc9fd1da3294a1c8423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ 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;
};
};
}
|