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 committed by Stefan Ellmauthaler
parent 7726539937
commit d87d39f4e5
2 changed files with 13 additions and 14 deletions

View File

@ -79,8 +79,6 @@
"vscode-extension-ms-vscode-cpptools"
"zoom"
];
# testing purposes till https://github.com/NixOS/nixpkgs/issues/224505 is resolved
permittedInsecurePackages = [ "openssl-1.1.1t" ];
};
channels.nixpkgs.overlaysBuilder = channels: [

View File

@ -9,21 +9,22 @@ with lib; {
cfg = config.elss.server.grocy;
in
mkIf cfg.enable {
services.grocy = {
enable = true;
hostName = "grocy.ellmauthaler.net";
settings = {
currency = "EUR";
culture = "de";
calendar = {
showWeekNumber = true;
firstDayOfWeek = 1;
services = {
grocy = {
enable = true;
hostName = "grocy.ellmauthaler.net";
settings = {
currency = "EUR";
culture = "de";
calendar = {
showWeekNumber = true;
firstDayOfWeek = 1;
};
};
};
};
services.nginx.virtualHosts."grocy.ellmauthaler.net" = {
forceSSL = true;
nginx.virtualHosts."grocy.ellmauthaler.net" = {forceSSL = true;};
phpfpm.pools.grocy.phpPackage = mkForce pkgs.php81;
};
};
}