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