diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-25 23:15:08 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-25 23:15:08 +0100 |
commit | 01f21083a897b86bf148f1d2bb9c8edca4d3786a (patch) | |
tree | 784f04e9b6ef99a49e572c84e4b7ab40b5eb5fde /virtual/modules/websites/tools/dav/default.nix | |
parent | bfe3c9c9df0c5112bc8806483292b55ed0f7e02d (diff) | |
download | Nix-01f21083a897b86bf148f1d2bb9c8edca4d3786a.tar.gz Nix-01f21083a897b86bf148f1d2bb9c8edca4d3786a.tar.zst Nix-01f21083a897b86bf148f1d2bb9c8edca4d3786a.zip |
Rename virtual folder to nixops
Fixes https://git.immae.eu/mantisbt/view.php?id=82
Diffstat (limited to 'virtual/modules/websites/tools/dav/default.nix')
-rw-r--r-- | virtual/modules/websites/tools/dav/default.nix | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/virtual/modules/websites/tools/dav/default.nix b/virtual/modules/websites/tools/dav/default.nix deleted file mode 100644 index ef9735e..0000000 --- a/virtual/modules/websites/tools/dav/default.nix +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | { lib, pkgs, config, myconfig, mylibs, ... }: | ||
2 | let | ||
3 | infcloud = pkgs.callPackage ./infcloud.nix {}; | ||
4 | davical = pkgs.callPackage ./davical.nix { | ||
5 | env = myconfig.env.tools.davical; | ||
6 | }; | ||
7 | |||
8 | cfg = config.services.myWebsites.tools.dav; | ||
9 | in { | ||
10 | options.services.myWebsites.tools.dav = { | ||
11 | enable = lib.mkEnableOption "enable dav website"; | ||
12 | }; | ||
13 | |||
14 | config = lib.mkIf cfg.enable { | ||
15 | security.acme.certs."eldiron".extraDomains."dav.immae.eu" = null; | ||
16 | |||
17 | services.myWebsites.tools.modules = davical.apache.modules; | ||
18 | |||
19 | services.myWebsites.tools.vhostConfs.dav = { | ||
20 | certName = "eldiron"; | ||
21 | hosts = ["dav.immae.eu" ]; | ||
22 | root = null; | ||
23 | extraConfig = [ | ||
24 | infcloud.apache.vhostConf | ||
25 | davical.apache.vhostConf | ||
26 | ]; | ||
27 | }; | ||
28 | |||
29 | services.myPhpfpm.poolConfigs = { | ||
30 | davical = davical.phpFpm.pool; | ||
31 | }; | ||
32 | |||
33 | }; | ||
34 | } | ||
35 | |||