From 3dc77b9f137e426a89f7a131cc1d57d437f44315 Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 26 May 2023 21:14:45 +0200 Subject: [PATCH] tokenfile --- nixos/hosts/olympus/woodpecker/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/olympus/woodpecker/configuration.nix b/nixos/hosts/olympus/woodpecker/configuration.nix index 73bacde..078b333 100644 --- a/nixos/hosts/olympus/woodpecker/configuration.nix +++ b/nixos/hosts/olympus/woodpecker/configuration.nix @@ -27,6 +27,8 @@ in { quoteEnvironmentValues = false; # Needed for docker }; + vault-secrets.secrets.gitea_runner = { }; + virtualisation.podman = { enable = true; dockerSocket.enable = true; @@ -49,6 +51,7 @@ in { name = "nix-native"; labels = [ "native:host" ]; url = "https://git.0x76.dev"; + tokenFile = "${vs.gitea_runner}/token_native"; hostPackages = with pkgs; [ bash coreutils