aboutsummaryrefslogtreecommitdiff
path: root/modules/services/site.nix
blob: d863dbcde46810d75916e58b33d522dd5e71e897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  flake.modules.nixos.site =
    {
      config,
      inputs,
      ...
    }:
    {
      imports = [
        inputs.site.nixosModules.default
      ];

      services.site = {
        enable = true;
        domain = "schererleander.de";
        sslCertificate = config.sops.secrets."cert_fullchain".path;
        sslCertificateKey = config.sops.secrets."cert_private".path;
      };
    };
}