summaryrefslogtreecommitdiff
path: root/config/services/web/quentin/default.nix
blob: c4f1f44681254d4252e8cd98ece4ddca0d502938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, ... }:

{
  services.nginx.virtualHosts.quentin = {
    serverName = "quentin.${config.networking.domain}";
    locations."/".root = "${pkgs.personal.webpage}";
    forceSSL = true;
    enableACME = true;
  };

  # automatically fetch (non-structural) website updates when updating the system
  system.autoUpgrade.flags = [ "--update-input" "personal-webpage/data" ];
}