mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01: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>
14 lines
312 B
Nix
14 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 ];
|
|
};
|
|
}
|
|
|