This commit is contained in:
Hunter Halloran
2025-12-17 11:44:10 -05:00
parent 35b4572b42
commit b1ae664ab0
2 changed files with 21 additions and 14 deletions

View File

@@ -73,7 +73,12 @@ let
# Each wrapper checks if the user is enabled before applying the module content # Each wrapper checks if the user is enabled before applying the module content
userNixosModules = lib.mapAttrsToList ( userNixosModules = lib.mapAttrsToList (
name: modulePath: name: modulePath:
{ config, lib, pkgs, ... }@args: {
config,
lib,
pkgs,
...
}@args:
let let
# Import the user's nixos module - it returns a function or attrset # Import the user's nixos module - it returns a function or attrset
importedModuleFunc = import modulePath { inherit inputs; }; importedModuleFunc = import modulePath { inherit inputs; };

View File

@@ -97,7 +97,9 @@ mkIf builderCfg.githubRunner.enable {
cd "$runnerDir" cd "$runnerDir"
# Configure the runner, optionally replacing existing registration # Configure the runner, optionally replacing existing registration
if [ ! -f ".runner" ] || [ "${if builderCfg.githubRunner.replace then "true" else "false"}" = "true" ]; then if [ ! -f ".runner" ] || [ "${
if builderCfg.githubRunner.replace then "true" else "false"
}" = "true" ]; then
echo "Configuring GitHub Actions runner..." echo "Configuring GitHub Actions runner..."
${runnerPkg}/bin/Runner.Listener configure \ ${runnerPkg}/bin/Runner.Listener configure \
--unattended \ --unattended \