From 762e4cf52a22cba2ad966bbd8c26489d68d7a95d Mon Sep 17 00:00:00 2001
From: Wroclaw <wroclaw223@outlook.com>
Date: Tue, 18 Feb 2025 04:24:20 +0100
Subject: [PATCH] nixos: remove invalid mkDoc, mdDoc uses

---
 nix-os/generic/dconf.nix     | 8 ++++----
 nix-os/unstable-packages.nix | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/nix-os/generic/dconf.nix b/nix-os/generic/dconf.nix
index dfcdc04..0ef11d7 100644
--- a/nix-os/generic/dconf.nix
+++ b/nix-os/generic/dconf.nix
@@ -10,12 +10,12 @@ let
       rulesToApply = lib.mkOption {
         type = lib.types.listOf lib.types.str;
         default = lib.attrNames cfg.rules;
-        description = lib.mdDoc "A list of rules keys to apply for profile";
+        description = "A list of rules keys to apply for profile";
       };
       extraRules = lib.mkOption {
         type = lib.types.attrs;
         default = {};
-        description = lib.mdDoc "An attrset of additional dconf rules to apply ontop of selected";
+        description = "An attrset of additional dconf rules to apply ontop of selected";
       };
     };
   };
@@ -31,12 +31,12 @@ in
     rules = lib.mkOption {
       type = lib.types.attrs;
       default = {};
-      description = lib.mdDoc "An attrset of dconf rules to pull from";
+      description = "An attrset of dconf rules to pull from";
     };
     profiles = lib.mkOption {
       type = lib.types.attrsOf profileOpts;
       default = {};
-      description = lib.mdDoc "An attret of profiles to create, with pulled rules";
+      description =  "An attret of profiles to create, with pulled rules";
     };
   };
 
diff --git a/nix-os/unstable-packages.nix b/nix-os/unstable-packages.nix
index b39d9f4..10fefa5 100644
--- a/nix-os/unstable-packages.nix
+++ b/nix-os/unstable-packages.nix
@@ -12,9 +12,9 @@ let
 in
 {
   options.unstable = {
-    enable = lib.mkEnableOption (lib.mkDoc ''
+    enable = lib.mkEnableOption ''
       use of unstable packages in configuration. You can use `unstablePkgs` in configuration modules
-    '') // { default = true; };
+    '' // { default = true; };
   };
   config = {
     _module.args.unstablePkgs = if config.unstable.enable then pkgs.unstable else pkgs;