From b4abb274908764304fe9da203788d5f168016de2 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Wed, 11 Mar 2026 22:49:50 +0100 Subject: [PATCH] Use unstable gerbil in pangolin module --- modules/pangolin.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/pangolin.nix b/modules/pangolin.nix index 3da3c9e..55e5fed 100644 --- a/modules/pangolin.nix +++ b/modules/pangolin.nix @@ -1,5 +1,8 @@ { pkgs-unstable, + utils, + config, + lib, ... }: { @@ -26,6 +29,13 @@ }; }; + systemd.services.gerbil.serviceConfig.ExecStart = lib.mkForce (utils.escapeSystemdExecArgs [ + (lib.getExe pkgs-unstable.fosrl-gerbil) + "--reachableAt=http://localhost:${toString config.services.gerbil.port}" + "--generateAndSaveKeyTo=${toString config.services.pangolin.dataDir}/config/key" + "--remoteConfig=http://localhost:3001/api/v1/gerbil/get-config" + ]); + } # Settings needed on the host