Get GitLab runners running again
This commit is contained in:
@@ -17,6 +17,8 @@ lib.attrsets.recursiveUpdate {
|
|||||||
|
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
|
|
||||||
|
greg.tailscale.enable = true;
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
secrets.runner-reg = {
|
secrets.runner-reg = {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ let
|
|||||||
|
|
||||||
container = input: (lib.attrsets.recursiveUpdate {
|
container = input: (lib.attrsets.recursiveUpdate {
|
||||||
bindMounts."/etc/ssh".hostPath = "/etc/ssh"; # For agenix secrets
|
bindMounts."/etc/ssh".hostPath = "/etc/ssh"; # For agenix secrets
|
||||||
|
enableTun = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
} input);
|
} input);
|
||||||
in {
|
in {
|
||||||
@@ -59,6 +60,7 @@ in {
|
|||||||
#################### QEmu Runner ####################################################
|
#################### QEmu Runner ####################################################
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
containers.gitlab-runner-qemu = container {
|
containers.gitlab-runner-qemu = container {
|
||||||
|
autoStart = true;
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/dev/kvm" = {
|
"/dev/kvm" = {
|
||||||
hostPath = "/dev/kvm";
|
hostPath = "/dev/kvm";
|
||||||
|
|||||||
Reference in New Issue
Block a user