diff options
| author | Fuwn <[email protected]> | 2024-10-28 09:44:00 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 09:44:04 -0700 |
| commit | 1522254ec90eb05d8bb401b8cd3112ed1b383b0f (patch) | |
| tree | 98b3a878d525c1ad7e47f015e4744efd881d24f3 /modules/options/nix.nix | |
| parent | options: flip nix.extend default (diff) | |
| download | nixos-config-1522254ec90eb05d8bb401b8cd3112ed1b383b0f.tar.xz nixos-config-1522254ec90eb05d8bb401b8cd3112ed1b383b0f.zip | |
options: distributed builds nix option
Diffstat (limited to 'modules/options/nix.nix')
| -rw-r--r-- | modules/options/nix.nix | 18 |
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; + }; + }; } |