]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - systems/eldiron/websites/vpn/default.nix
Add tinc configuration
[perso/Immae/Config/Nix.git] / systems / eldiron / websites / vpn / default.nix
index ea54691062faedcc5d2226fe01ce2f691553427b..3ee0a202f9376cb020a577c4894e4ae60c140061 100644 (file)
@@ -8,6 +8,11 @@ in {
       certName    = "eldiron";
       hosts       = [ "vpn.immae.eu" ];
       root        = ./www;
+      extraConfig = [
+        ''
+          Alias /hosts.tar.gz "${config.myServices.vpn.hostsPath}"
+        ''
+      ];
     };
   };
 }