diff options
author | figsoda <figsoda@pm.me> | 2023-05-19 22:11:38 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-19 22:31:04 -0400 |
commit | 701bcdbead7597cddd3fc92a3581da95a138ef45 (patch) | |
tree | ea0f189faa8509d9d391dbfcdf5f51d10376634f /nixos/modules/system | |
parent | a31ca7f2202c5f2bcf7b943bee021f69f9bdd5c5 (diff) | |
download | nixpkgs-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/system')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/install-grub.pl | 4 | ||||
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 4 | ||||
-rw-r--r-- | nixos/modules/system/boot/stage-1-init.sh | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index cfccb93264b..27f03f2fb58 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -213,7 +213,7 @@ sub GrubFs { $search .= $matches[0]; } - # BTRFS is a special case in that we need to fix the referrenced path based on subvolumes + # BTRFS is a special case in that we need to fix the referenced path based on subvolumes if ($fs->type eq 'btrfs') { my ($status, @id_info) = runCommand("@btrfsprogs@/bin/btrfs", "subvol", "show", @{[$fs->mount]}); if ($status != 0) { @@ -586,7 +586,7 @@ sub getEfiTarget { if (($grubTarget eq "") || ($grubTargetEfi eq "")) { die } else { return "both" } } elsif (($grub ne "") && ($grubEfi eq "")) { - # TODO: It would be safer to disallow non-EFI grub installation if no taget is given. + # TODO: It would be safer to disallow non-EFI grub installation if no target is given. # If no target is given, then grub auto-detects the target which can lead to errors. # E.g. it seems as if grub would auto-detect a EFI target based on the availability # of a EFI partition. diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index b8f36538e70..71036044a2d 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -130,7 +130,7 @@ let ''} # Disable all input echo for the whole stage. We could use read -s - # instead but that would ocasionally leak characters between read + # instead but that would occasionally leak characters between read # invocations. stty -echo ''; @@ -861,7 +861,7 @@ in ''; description = lib.mdDoc '' Commands that should be run right before we try to mount our LUKS device. - This can be useful, if the keys needed to open the drive is on another partion. + This can be useful, if the keys needed to open the drive is on another partition. ''; }; diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index 387c27d86eb..f72342429a6 100644 --- a/nixos/modules/system/boot/stage-1-init.sh +++ b/nixos/modules/system/boot/stage-1-init.sh @@ -445,7 +445,7 @@ lustrateRoot () { mv -v "$d" "$root/old-root.tmp" done - # Use .tmp to make sure subsequent invokations don't clash + # Use .tmp to make sure subsequent invocations don't clash mv -v "$root/old-root.tmp" "$root/old-root" mkdir -m 0755 -p "$root/etc" |