enable php xdebug
This commit is contained in:
parent
5f44cbb266
commit
46b2f60fa4
2 changed files with 14 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# - Creating symlink to config dir
|
||||
# - Patch chgrp in Nextcloud module
|
||||
|
||||
{ pkgs, config, lib, options, ... }:{
|
||||
{ pkgs, config, lib, options, ... }: {
|
||||
|
||||
disabledModules = [
|
||||
"services/web-apps/nextcloud.nix"
|
||||
|
|
@ -41,6 +41,16 @@
|
|||
adminuser = "admin";
|
||||
adminpassFile = "${pkgs.writeText "adminpass" "test123"}";
|
||||
};
|
||||
phpPackage = lib.mkForce (pkgs.php.buildEnv {
|
||||
extensions = ({ enabled, all }: enabled ++ (with all; [
|
||||
xdebug
|
||||
]));
|
||||
});
|
||||
phpOptions = {
|
||||
"xdebug.mode" = "debug";
|
||||
"xdebug.client_host" = "10.0.2.2";
|
||||
"xdebug.client_port" = "9000";
|
||||
};
|
||||
appstoreEnable = false;
|
||||
extraOptions = {
|
||||
mail_smtpmode = "sendmail";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue