From 1522254ec90eb05d8bb401b8cd3112ed1b383b0f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 28 Oct 2024 09:44:00 -0700 Subject: options: distributed builds nix option --- modules/options/nix.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'modules/options') diff --git a/modules/options/nix.nix b/modules/options/nix.nix index 63301bc..62836ae 100644 --- a/modules/options/nix.nix +++ b/modules/options/nix.nix @@ -1,7 +1,17 @@ { lib, ... }: { - options.modules.nix.extend = lib.options.mkOption { - default = false; - type = lib.types.bool; - }; + options.modules.nix = + with lib.options; + with lib.types; + { + extend = mkOption { + default = false; + type = types.bool; + }; + + distributedBuilds = mkOption { + default = false; + type = types.bool; + }; + }; } -- cgit v1.2.3