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