-{ lib, pkgs, config, mylibs, ... }:
+{ lib, pkgs, config, myconfig, mylibs, ... }:
let
- nextcloud = pkgs.callPackage ./nextcloud.nix { inherit (mylibs) checkEnv; };
+ nextcloud = pkgs.callPackage ./nextcloud.nix {
+ env = myconfig.env.tools.nextcloud;
+ };
cfg = config.services.myWebsites.tools.cloud;
in {