From 106626b8d7fb3708e72d566d843fa78f0a294022 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 27 Dec 2023 17:03:51 +0100 Subject: nixos/tt-rss: add phpPackage option right now, we have php81 and php (which points to php82), which means that: - php-fpm uses php81 - the update preStart uses php81 - the actual updater uses php82 --- nixos/modules/services/web-apps/tt-rss.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix index 6c9b4bd1b8a7..84342165c9c0 100644 --- a/nixos/modules/services/web-apps/tt-rss.nix +++ b/nixos/modules/services/web-apps/tt-rss.nix @@ -4,6 +4,8 @@ with lib; let cfg = config.services.tt-rss; + inherit (cfg) phpPackage; + configVersion = 26; dbPort = if cfg.database.port == null @@ -26,7 +28,7 @@ let ; in pkgs.writeText "config.php" ''