summaryrefslogtreecommitdiff
path: root/modules/options
diff options
context:
space:
mode:
Diffstat (limited to 'modules/options')
-rw-r--r--modules/options/nix.nix18
1 files changed, 14 insertions, 4 deletions
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;
+ };
+ };
}