nextcloud: Use the system postgres version
This commit is contained in:
parent
21b9112f76
commit
306b69f6b5
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs
|
{ pkgs
|
||||||
, config
|
, config
|
||||||
|
, lib
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -14,6 +15,19 @@ in
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
|
||||||
package = nextcloud;
|
package = nextcloud;
|
||||||
|
phpPackage = lib.mkForce
|
||||||
|
(pkgs.php.override {
|
||||||
|
packageOverrides = final: prev: {
|
||||||
|
extensions = prev.extensions // {
|
||||||
|
pgsql = prev.extensions.pgsql.overrideAttrs (old: {
|
||||||
|
configureFlags = [ "--with-pgsql=${config.services.postgresql.package}" ];
|
||||||
|
});
|
||||||
|
pdo_pgsql = prev.extensions.pdo_pgsql.overrideAttrs (old: {
|
||||||
|
configureFlags = [ "--with-pdo-pgsql=${config.services.postgresql.package}" ];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
enable = true;
|
enable = true;
|
||||||
maxUploadSize = "2G";
|
maxUploadSize = "2G";
|
||||||
https = true;
|
https = true;
|
||||||
|
|
Loading…
Reference in a new issue