From 4ff64df35c750b3a728121c00e06f9d238a6a005 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 18 Aug 2025 02:04:06 -0500 Subject: [PATCH] Slight tweaks to gitlab-runner --- home/baseline/shell.nix | 1 + modules/nixos/gitlab-runner.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/baseline/shell.nix b/home/baseline/shell.nix index 2e7ba55..0126e07 100644 --- a/home/baseline/shell.nix +++ b/home/baseline/shell.nix @@ -24,6 +24,7 @@ nixtest = "nixpkgs-review rev HEAD"; nixup = "nix flake lock update"; nixcopy = "nix copy --to \"s3://binary-cache/?profile=default&endpoint=nas.home%3A9000&scheme=http\""; + r = "run0"; s = "nix run \".#runserver\""; updateScript = "nix-shell maintainers/scripts/update.nix --argstr package"; diff --git a/modules/nixos/gitlab-runner.nix b/modules/nixos/gitlab-runner.nix index c190ac1..40f2d88 100644 --- a/modules/nixos/gitlab-runner.nix +++ b/modules/nixos/gitlab-runner.nix @@ -51,7 +51,7 @@ in virtualisation = { libvirtd = { - enable = true; + enable = lib.mkDefault true; allowedBridges = [ "br0" "virbr0" @@ -67,6 +67,7 @@ in users.extraGroups.vboxusers.members = [ "greg" ]; virtualisation = { + libvirtd.enable = false; virtualbox.host = { enable = true; enableExtensionPack = true;