diff options
author | Arnout Engelen <arnout@bzzt.net> | 2023-11-09 21:48:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 21:48:05 +0100 |
commit | 97b0ae26f7c8a1682b5437a64edcd73ab1798c9b (patch) | |
tree | b7a421f5dd7358d9c2099c4717aa49525addc700 /nixos/doc/manual/configuration | |
parent | 3dc0248dbc70fdba6d1a668ed00b4678dfae098c (diff) | |
download | nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar.gz nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar.bz2 nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar.lz nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar.xz nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.tar.zst nixlib-97b0ae26f7c8a1682b5437a64edcd73ab1798c9b.zip |
doc: avoid 'simply' (#266434)
While the word 'simply' is usually added to encourage readers, it often has the opposite effect and may even appear condescending, especially when the reader runs into trouble trying to apply the suggestions from the documentation. It is almost always an improvement to simply drop the word from the sentence. (there are more possible improvements like this, we can apply those in separate PRs)
Diffstat (limited to 'nixos/doc/manual/configuration')
-rw-r--r-- | nixos/doc/manual/configuration/declarative-packages.section.md | 2 | ||||
-rw-r--r-- | nixos/doc/manual/configuration/modularity.section.md | 4 | ||||
-rw-r--r-- | nixos/doc/manual/configuration/xfce.chapter.md | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/configuration/declarative-packages.section.md b/nixos/doc/manual/configuration/declarative-packages.section.md index 02eaa56192e4..480e250da8c7 100644 --- a/nixos/doc/manual/configuration/declarative-packages.section.md +++ b/nixos/doc/manual/configuration/declarative-packages.section.md @@ -37,7 +37,7 @@ Note: the `nixos` prefix tells us that we want to get the package from the `nixos` channel and works only in CLI tools. In declarative configuration use `pkgs` prefix (variable). -To "uninstall" a package, simply remove it from +To "uninstall" a package, remove it from [](#opt-environment.systemPackages) and run `nixos-rebuild switch`. ```{=include=} sections diff --git a/nixos/doc/manual/configuration/modularity.section.md b/nixos/doc/manual/configuration/modularity.section.md index 2eff15387987..f4a566d66973 100644 --- a/nixos/doc/manual/configuration/modularity.section.md +++ b/nixos/doc/manual/configuration/modularity.section.md @@ -36,8 +36,8 @@ Here, we include two modules from the same directory, `vpn.nix` and Note that both `configuration.nix` and `kde.nix` define the option [](#opt-environment.systemPackages). When multiple modules define an option, NixOS will try to *merge* the definitions. In the case of -[](#opt-environment.systemPackages), that's easy: the lists of -packages can simply be concatenated. The value in `configuration.nix` is +[](#opt-environment.systemPackages) the lists of packages will be +concatenated. The value in `configuration.nix` is merged last, so for list-type options, it will appear at the end of the merged list. If you want it to appear first, you can use `mkBefore`: diff --git a/nixos/doc/manual/configuration/xfce.chapter.md b/nixos/doc/manual/configuration/xfce.chapter.md index a80be2b523e2..9ec4a51d6e35 100644 --- a/nixos/doc/manual/configuration/xfce.chapter.md +++ b/nixos/doc/manual/configuration/xfce.chapter.md @@ -28,7 +28,7 @@ manually (system wide), put them into your Thunar (the Xfce file manager) is automatically enabled when Xfce is enabled. To enable Thunar without enabling Xfce, use the configuration -option [](#opt-programs.thunar.enable) instead of simply adding +option [](#opt-programs.thunar.enable) instead of adding `pkgs.xfce.thunar` to [](#opt-environment.systemPackages). If you'd like to add extra plugins to Thunar, add them to |