From aa4e7c7b4535d22a2f6a1502b0d2e8ad312d31be Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Wed, 29 Oct 2025 12:50:12 +0100 Subject: [PATCH] use token for garage metrics access --- machines/flake-module.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/flake-module.nix b/machines/flake-module.nix index 328e376..78a8862 100644 --- a/machines/flake-module.nix +++ b/machines/flake-module.nix @@ -174,6 +174,11 @@ targets = [ "verbena.home.rpqt.fr:3903" ]; } ]; + authorization = { + type = "Bearer"; + credentials_file = + self.nixosConfigurations.verbena.config.clan.core.vars.generators.garage.files.metrics_token.path; + }; } ]; };