From 3b26d8f58b48d6e1974abec6c35112ee603c788f Mon Sep 17 00:00:00 2001
From: ajs124 <git@ajs124.de>
Date: Tue, 20 Jun 2023 15:08:13 +0200
Subject: [PATCH] literalDocBook -> literalMD

---
 modules/sops/default.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/sops/default.nix b/modules/sops/default.nix
index 3245444..96968bb 100644
--- a/modules/sops/default.nix
+++ b/modules/sops/default.nix
@@ -65,7 +65,7 @@ let
       group = mkOption {
         type = types.str;
         default = users.${config.owner}.group;
-        defaultText = literalExpression "config.users.users.\${owner}.group";
+        defaultText = literalMD "{option}`config.users.users.\${owner}.group`";
         description = ''
           Group of the file.
         '';
@@ -265,7 +265,7 @@ in {
       sshKeyPaths = mkOption {
         type = types.listOf types.path;
         default = defaultImportKeys "ed25519";
-        defaultText = literalDocBook "The ed25519 keys from <option>config.services.openssh.hostKeys</option>";
+        defaultText = literalMD "The ed25519 keys from {option}`config.services.openssh.hostKeys`";
         description = ''
           Paths to ssh keys added as age keys during sops description.
         '';
@@ -285,7 +285,7 @@ in {
       sshKeyPaths = mkOption {
         type = types.listOf types.path;
         default = defaultImportKeys "rsa";
-        defaultText = literalDocBook "The rsa keys from <option>config.services.openssh.hostKeys</option>";
+        defaultText = literalMD "The rsa keys from {option}`config.services.openssh.hostKeys`";
         description = ''
           Path to ssh keys added as GPG keys during sops description.
           This option must be explicitly unset if <literal>config.sops.gnupg.sshKeyPaths</literal> is set.