1 { pkgs, lib, config, ... }:
2 let inherit (config) networking;
3 inherit (config.services) nginx;
4 domain = "sourcephile.fr";
9 serverName = "www.${networking.domain}";
12 ++ config.networking.domainAliases
13 ++ map (domainAlias: "www." + domainAlias)
14 config.networking.domainAliases;
17 globalRedirect = "git.${networking.domain}";