diff options
author | pennae <github@quasiparticle.net> | 2022-08-03 01:57:59 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-03 21:08:58 +0200 |
commit | 9c8531c8a50936ec65bc0471748237e310ec0c9a (patch) | |
tree | 42002a43d80313fc5f854440c906ff1d9c4049ad /nixos/modules/system | |
parent | 16102dce2fbad670bd47dd75c860a8daa5fe47ad (diff) | |
download | nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar.gz nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar.bz2 nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar.lz nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar.xz nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.tar.zst nixpkgs-9c8531c8a50936ec65bc0471748237e310ec0c9a.zip |
nixos/*: replace <replaceable>s with «thing»
we can't embed syntactic annotations of this kind in markdown code blocks without yet another extension. replaceable is rare enough to make this not much worth it, so we'll go with «thing» instead. the module system already uses this format for its placeholder names in attrsOf paths.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 2 | ||||
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 | ||||
-rw-r--r-- | nixos/modules/system/boot/systemd/tmpfiles.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index 95556710bde..3b468f00aba 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -552,7 +552,7 @@ in The encrypted disk that should be opened before the root filesystem is mounted. Both LVM-over-LUKS and LUKS-over-LVM setups are supported. The unencrypted devices can be accessed as - <filename>/dev/mapper/<replaceable>name</replaceable></filename>. + <filename>/dev/mapper/«name»</filename>. ''; type = with types; attrsOf (submodule ( diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index f3b9d798f61..ec2f3d18c68 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -480,7 +480,7 @@ in if you want to resume from file. If left empty, the swap partitions are used. Specify here the device where the file resides. You should also use <varname>boot.kernelParams</varname> to specify - <literal><replaceable>resume_offset</replaceable></literal>. + <literal>«resume_offset»</literal>. ''; }; diff --git a/nixos/modules/system/boot/systemd/tmpfiles.nix b/nixos/modules/system/boot/systemd/tmpfiles.nix index eaa0ddf6387..0d5adf596e1 100644 --- a/nixos/modules/system/boot/systemd/tmpfiles.nix +++ b/nixos/modules/system/boot/systemd/tmpfiles.nix @@ -29,7 +29,7 @@ in List of packages containing <command>systemd-tmpfiles</command> rules. All files ending in .conf found in - <filename><replaceable>pkg</replaceable>/lib/tmpfiles.d</filename> + <filename>«pkg»/lib/tmpfiles.d</filename> will be included. If this folder does not exist or does not contain any files an error will be returned instead. |