diff options
author | pennae <github@quasiparticle.net> | 2022-08-20 22:27:20 +0200 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2022-08-27 19:18:29 +0200 |
commit | 51a11254a7031ddfaa820e7dec55436f74881da9 (patch) | |
tree | 5ed1e1ec455b1eb2f2cc0ae69ec23c8f5a70e0dd /nixos/modules/system | |
parent | 169072fb6030dfe84b541db77d8705ff8a093a54 (diff) | |
download | nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar.gz nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar.bz2 nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar.lz nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar.xz nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.tar.zst nixpkgs-51a11254a7031ddfaa820e7dec55436f74881da9.zip |
nixos/*: literalDocBook -> literalMD
no change to rendered output
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/activation/activation-script.nix | 2 | ||||
-rw-r--r-- | nixos/modules/system/boot/plymouth.nix | 6 | ||||
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/system/activation/activation-script.nix b/nixos/modules/system/activation/activation-script.nix index 3a57642a53e..5a61d5463d2 100644 --- a/nixos/modules/system/activation/activation-script.nix +++ b/nixos/modules/system/activation/activation-script.nix @@ -143,7 +143,7 @@ in readOnly = true; internal = true; default = systemActivationScript (removeAttrs config.system.activationScripts [ "script" ]) true; - defaultText = literalDocBook "generated activation script"; + defaultText = literalMD "generated activation script"; }; system.userActivationScripts = mkOption { diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 02d8fcf4799..6e20d7dc5e0 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -75,10 +75,10 @@ in themePackages = mkOption { default = lib.optional (cfg.theme == "breeze") nixosBreezePlymouth; - defaultText = literalDocBook '' + defaultText = literalMD '' A NixOS branded variant of the breeze theme when - <literal>config.${opt.theme} == "breeze"</literal>, otherwise - <literal>[ ]</literal>. + `config.${opt.theme} == "breeze"`, otherwise + `[ ]`. ''; type = types.listOf types.package; description = lib.mdDoc '' diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 37adcc531d3..66b51cd7260 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -611,7 +611,7 @@ in then "zstd" else "gzip" ); - defaultText = literalDocBook "<literal>zstd</literal> if the kernel supports it (5.9+), <literal>gzip</literal> if not"; + defaultText = literalMD "`zstd` if the kernel supports it (5.9+), `gzip` if not"; type = types.either types.str (types.functionTo types.str); description = '' The compressor to use on the initrd image. May be any of: |