From 67a130b984603fbbcf5dd538399bb1240a570a23 Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Sat, 30 Nov 2024 16:47:46 +0100 Subject: [PATCH] tree-wide: Remove all uses of lib.mdDoc This was deprecated in 24.05 already, and removed in 24.11. --- lib/types/btrfs.nix | 2 +- lib/types/swap.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/types/btrfs.nix b/lib/types/btrfs.nix index b84b10c..d9cff2c 100644 --- a/lib/types/btrfs.nix +++ b/lib/types/btrfs.nix @@ -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. diff --git a/lib/types/swap.nix b/lib/types/swap.nix index 7b720f2..83a6a74 100644 --- a/lib/types/swap.nix +++ b/lib/types/swap.nix @@ -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.