s/mkOption/mkEnableOption
This commit is contained in:
parent
fb02afc6c9
commit
2ff8975b6b
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (builtins) toString;
|
inherit (builtins) toString;
|
||||||
inherit (lib) mkOption;
|
inherit (lib) mkOption mkEnableOption;
|
||||||
inherit (lib.types) types;
|
inherit (lib.types) types;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
@ -15,10 +15,7 @@ in {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
fediversity = {
|
fediversity = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption "the collection of services bundled under Fediversity";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
garage = mkOption {
|
garage = mkOption {
|
||||||
type = types.anything;
|
type = types.anything;
|
||||||
|
@ -28,9 +25,9 @@ in {
|
||||||
type = types.string;
|
type = types.string;
|
||||||
};
|
};
|
||||||
|
|
||||||
mastodon.enable = mkOption { type = types.bool; default = false; };
|
mastodon.enable = mkEnableOption "default Fediversity Mastodon configuration";
|
||||||
pixelfed.enable = mkOption { type = types.bool; default = false; };
|
pixelfed.enable = mkEnableOption "default Fediversity Pixelfed configuration";
|
||||||
peertube.enable = mkOption { type = types.bool; default = false; };
|
peertube.enable = mkEnableOption "default Fediversity PeerTube configuration";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue