tree-wide: Remove all uses of lib.mdDoc

This was deprecated in 24.05 already, and removed in 24.11.
This commit is contained in:
Felix Uhl committed 2024-12-02 20:28:17 +01:00
1 parent 2814a5224a
commit 67a130b984
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ let
priority = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
description = lib.mdDoc ''
description = ''
Specify the priority of the swap file. Priority is a value between 0 and 32767.
Higher numbers indicate higher priority.
null lets the kernel choose a priority, which will show up as a negative value.
+2 -2
View File
@@ -15,7 +15,7 @@
default = null;
example = "once";
type = lib.types.nullOr (lib.types.enum [ "once" "pages" "both" ]);
description = lib.mdDoc ''
description = ''
Specify the discard policy for the swap device. If "once", then the
whole swap space is discarded at swapon invocation. If "pages",
asynchronous discard on freed pages is performed, before returning to
@@ -37,7 +37,7 @@
priority = lib.mkOption {
type = lib.types.nullOr lib.types.int;
default = null;
description = lib.mdDoc ''
description = ''
Specify the priority of the swap device. Priority is a value between 0 and 32767.
Higher numbers indicate higher priority.
null lets the kernel choose a priority, which will show up as a negative value.