From 3c0b5f08670d56b0d16f884231efea33668454d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 28 May 2024 13:35:11 +0200 Subject: [PATCH] drop deprecated mdDoc --- clanModules/localsend/default.nix | 2 +- nixosModules/clanCore/vm.nix | 8 ++++---- nixosModules/clanCore/zerotier/default.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clanModules/localsend/default.nix b/clanModules/localsend/default.nix index 945238e3..b8721c4e 100644 --- a/clanModules/localsend/default.nix +++ b/clanModules/localsend/default.nix @@ -9,7 +9,7 @@ # - cli frontend: https://github.com/localsend/localsend/issues/11 # - ipv6 support: https://github.com/localsend/localsend/issues/549 options.clan.localsend = { - enable = lib.mkEnableOption (lib.mdDoc "enable the localsend module"); + enable = lib.mkEnableOption "enable the localsend module"; defaultLocation = lib.mkOption { type = lib.types.str; description = "The default download location"; diff --git a/nixosModules/clanCore/vm.nix b/nixosModules/clanCore/vm.nix index 62d98d21..da216c76 100644 --- a/nixosModules/clanCore/vm.nix +++ b/nixosModules/clanCore/vm.nix @@ -122,7 +122,7 @@ in cores = lib.mkOption { type = lib.types.ints.positive; default = 1; - description = lib.mdDoc '' + description = '' Specify the number of cores the guest is permitted to use. The number can be higher than the available cores on the host system. @@ -132,7 +132,7 @@ in memorySize = lib.mkOption { type = lib.types.ints.positive; default = 1024; - description = lib.mdDoc '' + description = '' The memory size in megabytes of the virtual machine. ''; }; @@ -140,7 +140,7 @@ in graphics = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to run QEMU with a graphics window, or in nographic mode. Serial console will be enabled on both settings, but this will change the preferred console. @@ -150,7 +150,7 @@ in waypipe = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to use waypipe for native wayland passthrough, or not. ''; }; diff --git a/nixosModules/clanCore/zerotier/default.nix b/nixosModules/clanCore/zerotier/default.nix index ef013340..c5796a90 100644 --- a/nixosModules/clanCore/zerotier/default.nix +++ b/nixosModules/clanCore/zerotier/default.nix @@ -81,7 +81,7 @@ in }; }; settings = lib.mkOption { - description = lib.mdDoc "override the network config in /var/lib/zerotier/bla/$network.json"; + description = "override the network config in /var/lib/zerotier/bla/$network.json"; type = lib.types.submodule { freeformType = (pkgs.formats.json { }).type; }; }; };