diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index b45aca6..be6e90d 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -112,6 +112,7 @@ in inherit (host) system supportedFeatures; hostName = host.jakstIP; sshKey = "/etc/ssh/ssh_host_ed25519_key"; + maxJobs = 2; }; node_exporter = { diff --git a/modules/services/remote-builder/default.nix b/modules/services/remote-builder/default.nix index 98050d8..0831b64 100644 --- a/modules/services/remote-builder/default.nix +++ b/modules/services/remote-builder/default.nix @@ -18,6 +18,10 @@ hostName = lib.mkOption { type = str; }; sshKey = lib.mkOption { type = path; }; supportedFeatures = lib.mkOption { type = listOf str; }; + maxJobs = lib.mkOption { + type = int; + default = 1; + }; }; };