mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Fix grocy to use php 8.1
This commit is contained in:
parent
7726539937
commit
d87d39f4e5
@ -79,8 +79,6 @@
|
|||||||
"vscode-extension-ms-vscode-cpptools"
|
"vscode-extension-ms-vscode-cpptools"
|
||||||
"zoom"
|
"zoom"
|
||||||
];
|
];
|
||||||
# testing purposes till https://github.com/NixOS/nixpkgs/issues/224505 is resolved
|
|
||||||
permittedInsecurePackages = [ "openssl-1.1.1t" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
channels.nixpkgs.overlaysBuilder = channels: [
|
channels.nixpkgs.overlaysBuilder = channels: [
|
||||||
|
|||||||
@ -9,7 +9,8 @@ with lib; {
|
|||||||
cfg = config.elss.server.grocy;
|
cfg = config.elss.server.grocy;
|
||||||
in
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
services.grocy = {
|
services = {
|
||||||
|
grocy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "grocy.ellmauthaler.net";
|
hostName = "grocy.ellmauthaler.net";
|
||||||
settings = {
|
settings = {
|
||||||
@ -22,8 +23,8 @@ with lib; {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."grocy.ellmauthaler.net" = {
|
nginx.virtualHosts."grocy.ellmauthaler.net" = {forceSSL = true;};
|
||||||
forceSSL = true;
|
phpfpm.pools.grocy.phpPackage = mkForce pkgs.php81;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user