remove lib.mdDoc
This commit is contained in:
parent
17d8c16196
commit
80c18dd55d
1 changed files with 5 additions and 5 deletions
|
@ -11,30 +11,30 @@
|
||||||
inherit (lib.types) bool package port str;
|
inherit (lib.types) bool package port str;
|
||||||
in {
|
in {
|
||||||
options.services.anki-sync-server = {
|
options.services.anki-sync-server = {
|
||||||
enable = mkEnableOption (lib.mdDoc "anki-sync-server");
|
enable = mkEnableOption "anki-sync-server";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = package;
|
type = package;
|
||||||
default = pkgs.anki-bin;
|
default = pkgs.anki-bin;
|
||||||
description = lib.mdDoc "The package to use for the anki sync server.";
|
description = "The package to use for the anki sync server.";
|
||||||
};
|
};
|
||||||
|
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
default = "localhost";
|
default = "localhost";
|
||||||
description = lib.mdDoc "anki-sync-server host";
|
description = "anki-sync-server host";
|
||||||
};
|
};
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = port;
|
type = port;
|
||||||
default = 27701;
|
default = 27701;
|
||||||
description = lib.mdDoc "anki-sync-server port";
|
description = "anki-sync-server port";
|
||||||
};
|
};
|
||||||
|
|
||||||
openFirewall = mkOption {
|
openFirewall = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
type = bool;
|
type = bool;
|
||||||
description = lib.mdDoc "Whether to open the firewall for the specified port.";
|
description = "Whether to open the firewall for the specified port.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue