fix ci
This commit is contained in:
parent
0a7d8ae672
commit
08fac2dd82
1 changed files with 4 additions and 7 deletions
|
@ -3,8 +3,7 @@
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let vs = config.vault-secrets.secrets;
|
||||||
vs = config.vault-secrets.secrets;
|
|
||||||
in {
|
in {
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
||||||
|
@ -20,7 +19,7 @@ in {
|
||||||
environment.systemPackages = with pkgs; [ ];
|
environment.systemPackages = with pkgs; [ ];
|
||||||
|
|
||||||
vault-secrets.secrets.gitea_runner = {
|
vault-secrets.secrets.gitea_runner = {
|
||||||
services = [ "gitea-runner-nix\x2dnative" ];
|
services = [ "gitea-runner-nix_native" "gitea-runner-runner_1" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.podman = {
|
virtualisation.podman = {
|
||||||
|
@ -43,13 +42,11 @@ in {
|
||||||
runner_1 = {
|
runner_1 = {
|
||||||
name = "runner_1";
|
name = "runner_1";
|
||||||
enable = true;
|
enable = true;
|
||||||
labels = [
|
labels = [ "docker:docker://node:16-bullseye" ];
|
||||||
"docker:docker://node:16-bullseye"
|
|
||||||
];
|
|
||||||
url = "https://git.0x76.dev";
|
url = "https://git.0x76.dev";
|
||||||
tokenFile = "${vs.gitea_runner}/token_runner_1";
|
tokenFile = "${vs.gitea_runner}/token_runner_1";
|
||||||
};
|
};
|
||||||
nix-native = {
|
nix_native = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "nix-native";
|
name = "nix-native";
|
||||||
labels = [ "native:host" ];
|
labels = [ "native:host" ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue