From b2e8d10c5c865cfb8e7142fd05f7ba1dd14bc1be Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 2 Apr 2024 15:02:04 -0500 Subject: [PATCH] Get GitLab runners running again --- hosts/myself/container-runner.nix | 2 ++ hosts/myself/git.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hosts/myself/container-runner.nix b/hosts/myself/container-runner.nix index 0ec8eb9..75226f5 100644 --- a/hosts/myself/container-runner.nix +++ b/hosts/myself/container-runner.nix @@ -17,6 +17,8 @@ lib.attrsets.recursiveUpdate { nixpkgs.overlays = overlays; + greg.tailscale.enable = true; + age = { identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; secrets.runner-reg = { diff --git a/hosts/myself/git.nix b/hosts/myself/git.nix index bd76679..8eaa9e9 100644 --- a/hosts/myself/git.nix +++ b/hosts/myself/git.nix @@ -6,6 +6,7 @@ let container = input: (lib.attrsets.recursiveUpdate { bindMounts."/etc/ssh".hostPath = "/etc/ssh"; # For agenix secrets + enableTun = true; privateNetwork = true; } input); in { @@ -59,6 +60,7 @@ in { #################### QEmu Runner #################################################### ##################################################################################### containers.gitlab-runner-qemu = container { + autoStart = true; bindMounts = { "/dev/kvm" = { hostPath = "/dev/kvm";