Skip to content

Commit d0ead9a

Browse files
committed
nixos-modules: remove obsolete lib.mdDoc usage
1 parent b11f000 commit d0ead9a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nixos-modules/host/options.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
type = with types; attrsOf (submodule ({ config, name, ... }: {
2626
options = {
2727
config = mkOption {
28-
description = lib.mdDoc ''
28+
description = ''
2929
A specification of the desired configuration of this MicroVM,
3030
as a NixOS module, for building **without** a flake.
3131
'';
@@ -56,7 +56,7 @@
5656
type = types.path;
5757
default = if config.pkgs != null then config.pkgs.path else pkgs.path;
5858
defaultText = literalExpression "pkgs.path";
59-
description = lib.mdDoc ''
59+
description = ''
6060
This option is only respected when `config` is specified.
6161
The nixpkgs path to use for the MicroVM. Defaults to the host's nixpkgs.
6262
'';
@@ -66,7 +66,7 @@
6666
type = types.nullOr types.unspecified;
6767
default = pkgs;
6868
defaultText = literalExpression "pkgs";
69-
description = lib.mdDoc ''
69+
description = ''
7070
This option is only respected when `config` is specified.
7171
The package set to use for the MicroVM. Must be a nixpkgs package set with the microvm overlay. Determines the system of the MicroVM.
7272
If set to null, a new package set will be instantiated.
@@ -76,7 +76,7 @@
7676
specialArgs = mkOption {
7777
type = types.attrsOf types.unspecified;
7878
default = {};
79-
description = lib.mdDoc ''
79+
description = ''
8080
This option is only respected when `config` is specified.
8181
A set of special arguments to be passed to NixOS modules.
8282
This will be merged into the `specialArgs` used to evaluate

nixos-modules/microvm/optimization.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ in
1616
{
1717
options.microvm.optimize = {
1818
enable = lib.mkOption {
19-
description = lib.mdDoc ''
19+
description = ''
2020
Enables some optimizations by default to closure size and startup time:
2121
- defaults documentation to off
2222
- defaults to using systemd in initrd

0 commit comments

Comments
 (0)