blob: 9cd499b41e1f08aea4e3cf9b91ae6af716dfda86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ lib, pkgs, config, ... }:
let
cfg = config.myServices.vpn;
in {
config = lib.mkIf cfg.enable {
services.websites.env.tools.vhostConfs.vpn = {
certName = "eldiron";
addToCerts = true;
hosts = [ "vpn.immae.eu" ];
root = ./www;
};
};
}
|