-{ lib, pkgs, config, myconfig, ... }:
+{ lib, pkgs, config, ... }:
let
chloe = pkgs.callPackage ./builder.nix {
inherit (pkgs.webapps) chloe;
- config = myconfig.env.websites.chloe.integration;
+ config = config.myEnv.websites.chloe.integration;
apacheUser = config.services.httpd.Inte.user;
apacheGroup = config.services.httpd.Inte.group;
};
options.myServices.websites.chloe.integration.enable = lib.mkEnableOption "enable Chloe's website in integration";
config = lib.mkIf cfg.enable {
+ services.duplyBackup.profiles.chloe_dev.rootDir = chloe.app.varDir;
secrets.keys = chloe.keys;
systemd.services.phpfpm-chloe_dev.after = lib.mkAfter chloe.phpFpm.serviceDeps;
systemd.services.phpfpm-chloe_dev.wants = chloe.phpFpm.serviceDeps;