From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- systems/eldiron/websites/vpn/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systems/eldiron/websites/vpn/default.nix (limited to 'systems/eldiron/websites/vpn/default.nix') diff --git a/systems/eldiron/websites/vpn/default.nix b/systems/eldiron/websites/vpn/default.nix new file mode 100644 index 0000000..ea54691 --- /dev/null +++ b/systems/eldiron/websites/vpn/default.nix @@ -0,0 +1,13 @@ +{ 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; + }; + }; +} -- cgit v1.2.3