2023-01-03 02:05:36 +01:00
|
|
|
{ config, lib, ... }:
|
2023-01-01 20:37:01 +01:00
|
|
|
|
|
|
|
{
|
2023-01-03 02:05:36 +01:00
|
|
|
mkOpinionatedOption = text: lib.mkOption {
|
|
|
|
type = lib.types.bool;
|
|
|
|
default = config.opinionatedDefaults;
|
2023-01-17 02:14:18 +01:00
|
|
|
description = lib.mdDoc "Whether to ${text}.";
|
2023-01-03 02:05:36 +01:00
|
|
|
};
|
2023-01-03 05:14:07 +01:00
|
|
|
|
2023-02-18 23:49:11 +01:00
|
|
|
mkRecursiveDefault = lib.mapAttrsRecursive (_: lib.mkDefault);
|
2023-01-01 20:37:01 +01:00
|
|
|
}
|