summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-05-19 22:11:38 -0400
committerfigsoda <figsoda@pm.me>2023-05-19 22:31:04 -0400
commit701bcdbead7597cddd3fc92a3581da95a138ef45 (patch)
treeea0f189faa8509d9d391dbfcdf5f51d10376634f /nixos/modules/programs
parenta31ca7f2202c5f2bcf7b943bee021f69f9bdd5c5 (diff)
downloadnixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.gz
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.bz2
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.lz
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.xz
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.zst
nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.zip
nixos: fix typos
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/fish.nix2
-rw-r--r--nixos/modules/programs/nix-ld.nix2
-rw-r--r--nixos/modules/programs/singularity.nix6
-rw-r--r--nixos/modules/programs/turbovnc.nix2
4 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix
index 160adc0cad6..478f07d0131 100644
--- a/nixos/modules/programs/fish.nix
+++ b/nixos/modules/programs/fish.nix
@@ -303,7 +303,7 @@ in
     programs.fish.interactiveShellInit = ''
       # add completions generated by NixOS to $fish_complete_path
       begin
-        # joins with null byte to acommodate all characters in paths, then respectively gets all paths before (exclusive) / after (inclusive) the first one including "generated_completions",
+        # joins with null byte to accommodate all characters in paths, then respectively gets all paths before (exclusive) / after (inclusive) the first one including "generated_completions",
         # splits by null byte, and then removes all empty lines produced by using 'string'
         set -l prev (string join0 $fish_complete_path | string match --regex "^.*?(?=\x00[^\x00]*generated_completions.*)" | string split0 | string match -er ".")
         set -l post (string join0 $fish_complete_path | string match --regex "[^\x00]*generated_completions.*" | string split0 | string match -er ".")
diff --git a/nixos/modules/programs/nix-ld.nix b/nixos/modules/programs/nix-ld.nix
index 9a12b4ca5c7..f0c265f0e5a 100644
--- a/nixos/modules/programs/nix-ld.nix
+++ b/nixos/modules/programs/nix-ld.nix
@@ -2,7 +2,7 @@
 let
   cfg = config.programs.nix-ld;
 
-  # TODO make glibc here configureable?
+  # TODO make glibc here configurable?
   nix-ld-so = pkgs.runCommand "ld.so" {} ''
     ln -s "$(cat '${pkgs.stdenv.cc}/nix-support/dynamic-linker')" $out
   '';
diff --git a/nixos/modules/programs/singularity.nix b/nixos/modules/programs/singularity.nix
index 4884e5bdf2d..05fdb4842c5 100644
--- a/nixos/modules/programs/singularity.nix
+++ b/nixos/modules/programs/singularity.nix
@@ -25,9 +25,9 @@ in
       type = types.nullOr types.package;
       default = null;
       description = mdDoc ''
-        This option provides access to the overriden result of `programs.singularity.package`.
+        This option provides access to the overridden result of `programs.singularity.package`.
 
-        For example, the following configuration makes all the Nixpkgs packages use the overriden `singularity`:
+        For example, the following configuration makes all the Nixpkgs packages use the overridden `singularity`:
         ```Nix
         { config, lib, pkgs, ... }:
         {
@@ -42,7 +42,7 @@ in
         }
         ```
 
-        Use `lib.mkForce` to forcefully specify the overriden package.
+        Use `lib.mkForce` to forcefully specify the overridden package.
       '';
     };
     enableFakeroot = mkOption {
diff --git a/nixos/modules/programs/turbovnc.nix b/nixos/modules/programs/turbovnc.nix
index a0e4a36cfd9..511b6badc04 100644
--- a/nixos/modules/programs/turbovnc.nix
+++ b/nixos/modules/programs/turbovnc.nix
@@ -39,7 +39,7 @@ in
   config = mkIf cfg.ensureHeadlessSoftwareOpenGL {
 
     # TurboVNC has builtin support for Mesa llvmpipe's `swrast`
-    # software rendering to implemnt GLX (OpenGL on Xorg).
+    # software rendering to implement GLX (OpenGL on Xorg).
     # However, just building TurboVNC with support for that is not enough
     # (it only takes care of the X server side part of OpenGL);
     # the indiviudual applications (e.g. `glxgears`) also need to directly load