mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
8d3978c149
This type is necessary to have correct merging behavior for `allowUnfreePredicate` and `allowInsecurePredicate` Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
15 lines
312 B
Nix
15 lines
312 B
Nix
{ lib, ... }: {
|
|
|
|
options.value = lib.mkOption {
|
|
type = lib.types.lazyAttrsOf lib.types.boolByOr;
|
|
};
|
|
|
|
config.value = {
|
|
falseFalse = lib.mkMerge [ false false ];
|
|
trueFalse = lib.mkMerge [ true false ];
|
|
falseTrue = lib.mkMerge [ false true ];
|
|
trueTrue = lib.mkMerge [ true true ];
|
|
};
|
|
}
|
|
|