aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/websites/vpn/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-10 00:54:30 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-12 00:24:39 +0200
commit450e0db1a1ad900f93519c00f0ef132ec42a3728 (patch)
treea50ad5306b6c44238edc9d18fdcd09a7b94be4c1 /systems/eldiron/websites/vpn/default.nix
parenta59f486863020816cbc0d3fc69ac7926134215d0 (diff)
downloadNix-450e0db1a1ad900f93519c00f0ef132ec42a3728.tar.gz
Nix-450e0db1a1ad900f93519c00f0ef132ec42a3728.tar.zst
Nix-450e0db1a1ad900f93519c00f0ef132ec42a3728.zip
Add tinc configuration
Diffstat (limited to 'systems/eldiron/websites/vpn/default.nix')
-rw-r--r--systems/eldiron/websites/vpn/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/systems/eldiron/websites/vpn/default.nix b/systems/eldiron/websites/vpn/default.nix
index ea54691..3ee0a20 100644
--- a/systems/eldiron/websites/vpn/default.nix
+++ b/systems/eldiron/websites/vpn/default.nix
@@ -8,6 +8,11 @@ in {
8 certName = "eldiron"; 8 certName = "eldiron";
9 hosts = [ "vpn.immae.eu" ]; 9 hosts = [ "vpn.immae.eu" ];
10 root = ./www; 10 root = ./www;
11 extraConfig = [
12 ''
13 Alias /hosts.tar.gz "${config.myServices.vpn.hostsPath}"
14 ''
15 ];
11 }; 16 };
12 }; 17 };
13} 18}