1
0
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:
Stefan Ellmauthaler 2023-06-01 14:45:23 +02:00
parent 24b3d61e48
commit 40d894cc4e
Failed to extract signature
2 changed files with 13 additions and 14 deletions

View File

@ -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: [

View File

@ -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;
}; };
}; };
} }