Fix jude gitlab-runner variables
This commit is contained in:
+6
-6
@@ -6,6 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
environmentVariables = {
|
||||||
|
EFI_DIR = "${pkgs.OVMF.fd}/FV/";
|
||||||
|
STORAGE_URL = "s3.thehellings.lan:9000";
|
||||||
|
};
|
||||||
passthru = [
|
passthru = [
|
||||||
"1002:164e" # Raphael - embedded GPU
|
"1002:164e" # Raphael - embedded GPU
|
||||||
"1002:1640" # Rembrandt - Audio
|
"1002:1640" # Rembrandt - Audio
|
||||||
@@ -33,10 +37,8 @@ in
|
|||||||
|
|
||||||
services.gitlab-runner.services = lib.mkForce {
|
services.gitlab-runner.services = lib.mkForce {
|
||||||
vbox = {
|
vbox = {
|
||||||
|
inherit environmentVariables;
|
||||||
authenticationTokenConfigFile = config.age.secrets.vbox.path;
|
authenticationTokenConfigFile = config.age.secrets.vbox.path;
|
||||||
environmentVariables = {
|
|
||||||
EFI_DIR = "${pkgs.OVMF.fd}/FV/";
|
|
||||||
};
|
|
||||||
executor = "shell";
|
executor = "shell";
|
||||||
limit = 5;
|
limit = 5;
|
||||||
};
|
};
|
||||||
@@ -87,12 +89,10 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.concurrent = 5;
|
settings.concurrent = 5;
|
||||||
services.qemu = {
|
services.qemu = {
|
||||||
|
inherit environmentVariables;
|
||||||
executor = "shell";
|
executor = "shell";
|
||||||
limit = 5;
|
limit = 5;
|
||||||
authenticationTokenConfigFile = config.age.secrets.qemu.path;
|
authenticationTokenConfigFile = config.age.secrets.qemu.path;
|
||||||
environmentVariables = {
|
|
||||||
EFI_DIR = "${pkgs.OVMF.fd}/FV/";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user