blob: ea54691062faedcc5d2226fe01ce2f691553427b (
plain) (
tree)
|
|
{ lib, pkgs, config, ... }:
let
cfg = config.myServices.vpn;
in {
config = lib.mkIf cfg.enable {
security.acme.certs.eldiron.extraDomainNames = [ "vpn.immae.eu" ];
services.websites.env.tools.vhostConfs.vpn = {
certName = "eldiron";
hosts = [ "vpn.immae.eu" ];
root = ./www;
};
};
}
|