-{ lib, pkgs, config, mylibs, ... }:
+{ lib, pkgs, config, myconfig, mylibs, ... }:
let
- chloe = pkgs.callPackage ./chloe.nix { inherit (mylibs) checkEnv fetchedGitPrivate; };
- chloe_dev = chloe { environment = "dev"; };
- chloe_prod = chloe { environment = "prod"; };
+ chloe = pkgs.callPackage ./chloe.nix { inherit (mylibs) fetchedGitPrivate; };
+ chloe_dev = chloe {
+ config = myconfig.env.websites.chloe.integration;
+ };
+ chloe_prod = chloe {
+ config = myconfig.env.websites.chloe.production;
+ };
cfg = config.services.myWebsites.Chloe;
in {