diff options
author | pennae <github@quasiparticle.net> | 2022-08-13 05:15:06 +0200 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2022-08-19 22:40:58 +0200 |
commit | 8f8e1015275bc1be12ffe3055ffe5e15f80dd1cd (patch) | |
tree | 8e0cdaade6441c345eb239614699dc145d0226c3 /nixos/modules/config | |
parent | 1ab9224ebe9bc8fd732ff305b7c6c0e07dd9acb0 (diff) |
nixos/*: normalize <package> to <literal>
this renders the same in the manpage and a little more clearly in the html manual. in the manpage there continues to be no distinction from regular text, the html manual gets code-type markup (which was probably the intention for most of these uses anyway).
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/ldap.nix | 2 | ||||
-rw-r--r-- | nixos/modules/config/system-path.nix | 2 | ||||
-rw-r--r-- | nixos/modules/config/xdg/portal.nix | 4 | ||||
-rw-r--r-- | nixos/modules/config/xdg/portals/lxqt.nix | 4 | ||||
-rw-r--r-- | nixos/modules/config/xdg/portals/wlr.nix | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix index 0f54e4a8cf056..b0d12b2f81919 100644 --- a/nixos/modules/config/ldap.nix +++ b/nixos/modules/config/ldap.nix @@ -195,7 +195,7 @@ in actually contact the directory server, and it is possible that a malformed configuration file will trigger reconnection. If <literal>soft</literal> is specified, then - <package>nss_ldap</package> will return immediately on server + <literal>nss_ldap</literal> will return immediately on server failure. All hard reconnect policies block with exponential backoff before retrying. ''; diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index de980e7383b0d..6bc0f6e353ef6 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -89,7 +89,7 @@ in for a running system, entries can be removed for a more minimal NixOS installation. - Note: If <package>pkgs.nano</package> is removed from this list, + Note: If <literal>pkgs.nano</literal> is removed from this list, make sure another editor is installed and the <literal>EDITOR</literal> environment variable is set to it. Environment variables can be set using diff --git a/nixos/modules/config/xdg/portal.nix b/nixos/modules/config/xdg/portal.nix index 689abf267f090..132700747c37d 100644 --- a/nixos/modules/config/xdg/portal.nix +++ b/nixos/modules/config/xdg/portal.nix @@ -44,8 +44,8 @@ in List of additional portals to add to path. Portals allow interaction with system, like choosing files or taking screenshots. At minimum, a desktop portal implementation should be listed. GNOME and KDE already - adds <package>xdg-desktop-portal-gtk</package>; and - <package>xdg-desktop-portal-kde</package> respectively. On other desktop + adds <literal>xdg-desktop-portal-gtk</literal>; and + <literal>xdg-desktop-portal-kde</literal> respectively. On other desktop environments you probably want to add them yourself. ''; }; diff --git a/nixos/modules/config/xdg/portals/lxqt.nix b/nixos/modules/config/xdg/portals/lxqt.nix index e85e2cc326933..21b2440d3d3cd 100644 --- a/nixos/modules/config/xdg/portals/lxqt.nix +++ b/nixos/modules/config/xdg/portals/lxqt.nix @@ -15,7 +15,7 @@ in enable = mkEnableOption '' the desktop portal for the LXQt desktop environment. - This will add the <package>lxqt.xdg-desktop-portal-lxqt</package> + This will add the <literal>lxqt.xdg-desktop-portal-lxqt</literal> package (with the extra Qt styles) into the <option>xdg.portal.extraPortals</option> option ''; @@ -31,7 +31,7 @@ in ''; description = '' Extra Qt styles that will be available to the - <package>lxqt.xdg-desktop-portal-lxqt</package>. + <literal>lxqt.xdg-desktop-portal-lxqt</literal>. ''; }; }; diff --git a/nixos/modules/config/xdg/portals/wlr.nix b/nixos/modules/config/xdg/portals/wlr.nix index aba1d8dbc00e5..2369a1aecebea 100644 --- a/nixos/modules/config/xdg/portals/wlr.nix +++ b/nixos/modules/config/xdg/portals/wlr.nix @@ -17,14 +17,14 @@ in enable = mkEnableOption '' desktop portal for wlroots-based desktops - This will add the <package>xdg-desktop-portal-wlr</package> package into + This will add the <literal>xdg-desktop-portal-wlr</literal> package into the <option>xdg.portal.extraPortals</option> option, and provide the configuration file ''; settings = mkOption { description = '' - Configuration for <package>xdg-desktop-portal-wlr</package>. + Configuration for <literal>xdg-desktop-portal-wlr</literal>. See <literal>xdg-desktop-portal-wlr(5)</literal> for supported values. |