From 08fac2dd827d3c21d8c89722ceb6235edb9f470f Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Wed, 12 Jul 2023 11:09:15 +0200 Subject: [PATCH] fix ci --- nixos/hosts/olympus/ci/configuration.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/nixos/hosts/olympus/ci/configuration.nix b/nixos/hosts/olympus/ci/configuration.nix index f0c7df52..0c694019 100644 --- a/nixos/hosts/olympus/ci/configuration.nix +++ b/nixos/hosts/olympus/ci/configuration.nix @@ -3,8 +3,7 @@ # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, ... }: -let - vs = config.vault-secrets.secrets; +let vs = config.vault-secrets.secrets; in { imports = [ ]; @@ -20,7 +19,7 @@ in { environment.systemPackages = with pkgs; [ ]; vault-secrets.secrets.gitea_runner = { - services = [ "gitea-runner-nix\x2dnative" ]; + services = [ "gitea-runner-nix_native" "gitea-runner-runner_1" ]; }; virtualisation.podman = { @@ -43,13 +42,11 @@ in { runner_1 = { name = "runner_1"; enable = true; - labels = [ - "docker:docker://node:16-bullseye" - ]; + labels = [ "docker:docker://node:16-bullseye" ]; url = "https://git.0x76.dev"; tokenFile = "${vs.gitea_runner}/token_runner_1"; }; - nix-native = { + nix_native = { enable = true; name = "nix-native"; labels = [ "native:host" ];