mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-18 09:19:39 +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"
|
||||
"zoom"
|
||||
];
|
||||
# testing purposes till https://github.com/NixOS/nixpkgs/issues/224505 is resolved
|
||||
permittedInsecurePackages = [ "openssl-1.1.1t" ];
|
||||
};
|
||||
|
||||
channels.nixpkgs.overlaysBuilder = channels: [
|
||||
|
||||
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user