summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-03 22:46:41 +0200
committerpennae <github@quasiparticle.net>2022-08-03 22:46:41 +0200
commit61e93df1891972bae3e0c97a477bd44e8a477aa0 (patch)
tree4285c1d22db537fb02baf1e978eb4434b0276b0c /nixos/modules/tasks
parent645cfa59ac5690187eac40ef2ac67381668acecc (diff)
downloadnixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar.gz
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar.bz2
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar.lz
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar.xz
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.tar.zst
nixpkgs-61e93df1891972bae3e0c97a477bd44e8a477aa0.zip
nixos/*: automatically convert option docs to MD
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/auto-upgrade.nix6
-rw-r--r--nixos/modules/tasks/scsi-link-power-management.nix2
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/tasks/auto-upgrade.nix b/nixos/modules/tasks/auto-upgrade.nix
index 46a30c53ea8..ca269016783 100644
--- a/nixos/modules/tasks/auto-upgrade.nix
+++ b/nixos/modules/tasks/auto-upgrade.nix
@@ -25,10 +25,10 @@ in {
         type = types.enum ["switch" "boot"];
         default = "switch";
         example = "boot";
-        description = ''
+        description = lib.mdDoc ''
           Whether to run
-          <literal>nixos-rebuild switch --upgrade</literal> or run
-          <literal>nixos-rebuild boot --upgrade</literal>
+          `nixos-rebuild switch --upgrade` or run
+          `nixos-rebuild boot --upgrade`
         '';
       };
 
diff --git a/nixos/modules/tasks/scsi-link-power-management.nix b/nixos/modules/tasks/scsi-link-power-management.nix
index 549c35fc5b8..a5395657e99 100644
--- a/nixos/modules/tasks/scsi-link-power-management.nix
+++ b/nixos/modules/tasks/scsi-link-power-management.nix
@@ -25,7 +25,7 @@ in
     powerManagement.scsiLinkPolicy = mkOption {
       default = null;
       type = types.nullOr (types.enum allowedValues);
-      description = ''
+      description = lib.mdDoc ''
         SCSI link power management policy. The kernel default is
         "max_performance".