summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader
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/system/boot/loader
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/system/boot/loader')
-rw-r--r--nixos/modules/system/boot/loader/grub/install-grub.pl4
1 files changed, 2 insertions, 2 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.