diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-12 17:57:20 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-12 17:58:22 +0200 |
commit | 8f904d0d982684e8e66dfc5d9123712eb96bf16e (patch) | |
tree | 4574838fb67902680f41754d73af8f5d33ce35f6 /nixops/modules/websites/aten | |
parent | 9129f327844ca58af61a20582b04e35762c63e35 (diff) | |
download | Nix-8f904d0d982684e8e66dfc5d9123712eb96bf16e.tar.gz Nix-8f904d0d982684e8e66dfc5d9123712eb96bf16e.tar.zst Nix-8f904d0d982684e8e66dfc5d9123712eb96bf16e.zip |
Refactor a bit httpd/webapps configuration:
- alias private to pkgs
- move default apache vhost to pkgs
Diffstat (limited to 'nixops/modules/websites/aten')
-rw-r--r-- | nixops/modules/websites/aten/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/websites/aten/default.nix b/nixops/modules/websites/aten/default.nix index 0b2ce69..70bb34b 100644 --- a/nixops/modules/websites/aten/default.nix +++ b/nixops/modules/websites/aten/default.nix | |||
@@ -1,11 +1,11 @@ | |||
1 | { lib, pkgs, config, myconfig, ... }: | 1 | { lib, pkgs, config, myconfig, ... }: |
2 | let | 2 | let |
3 | aten_dev = pkgs.callPackage ./aten.nix { | 3 | aten_dev = pkgs.callPackage ./aten.nix { |
4 | inherit (pkgs.private.webapps) aten; | 4 | inherit (pkgs.webapps) aten; |
5 | config = myconfig.env.websites.aten.integration; | 5 | config = myconfig.env.websites.aten.integration; |
6 | }; | 6 | }; |
7 | aten_prod = pkgs.callPackage ./aten.nix { | 7 | aten_prod = pkgs.callPackage ./aten.nix { |
8 | inherit (pkgs.private.webapps) aten; | 8 | inherit (pkgs.webapps) aten; |
9 | config = myconfig.env.websites.aten.production; | 9 | config = myconfig.env.websites.aten.production; |
10 | }; | 10 | }; |
11 | 11 | ||