This commit is contained in:
2025-02-06 21:02:25 -05:00
parent 33c2718d40
commit 748894f99f
4 changed files with 41 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
{ pkgs, ... }:
{
imports = [ ./nix_builder.nix ];
imports = [
./nix_builder.nix
];
users = {
users.github-runners = {

View File

@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, inputs, lib, ... }:
with lib;
@@ -6,6 +6,8 @@ let
vars = import ../vars.nix;
in
{
imports = [ inputs.microvm.nixosModules.microvm ];
options.services.nix_builder.containers = mkOption {
type = types.attrsOf (types.submodule ({ name, ... }: {
options.enable = mkEnableOption "GitHub runner container";
@@ -81,3 +83,4 @@ in
}
) config.services.nix_builder.containers;
}