]>
Commit | Line | Data |
---|---|---|
ea9c6fe8 IB |
1 | { lib, pkgs, config, ... }: |
2 | let | |
3 | cfg = config.myServices.vpn; | |
4 | in { | |
5 | config = lib.mkIf cfg.enable { | |
6 | services.websites.env.tools.vhostConfs.vpn = { | |
7 | certName = "eldiron"; | |
8 | addToCerts = true; | |
9 | hosts = [ "vpn.immae.eu" ]; | |
750fe5a4 | 10 | root = ./www; |
ea9c6fe8 | 11 | }; |
ea9c6fe8 IB |
12 | }; |
13 | } |