From 581870a4445b53945303239ef3305212c22d12a3 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 21 Nov 2022 12:00:45 +0100 Subject: fix: typos --- disko | 2 +- types.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/disko b/disko index 89926d8..d641304 100755 --- a/disko +++ b/disko @@ -107,7 +107,7 @@ if [[ ! -z "${flake+x}" ]]; then elif [[ ! -z "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then nix_args+=("--arg" "diskoFile" "$disko_config") else - abort "disko config must be an exising file or flake must be set" + abort "disko config must be an existing file or flake must be set" fi script=$(nix-build "${libexec_dir}"/cli.nix \ diff --git a/types.nix b/types.nix index fe04e9c..d4d6256 100644 --- a/types.nix +++ b/types.nix @@ -16,7 +16,7 @@ rec { nestedTypes = typeAttr; }; - # option for valid contents of partitons (basically like devices, but without tables) + # option for valid contents of partitions (basically like devices, but without tables) partitionType = mkOption { type = types.nullOr (diskoLib.subType { inherit btrfs filesystem zfs mdraid luks lvm_pv; }); default = null; @@ -138,7 +138,7 @@ rec { sortedDeviceList = diskoLib.sortDevicesByDependencies ((diskoLib.meta devices).deviceDependencies or {}) devices; in '' set -efux - # first create the neccessary devices + # first create the necessary devices ${concatStrings (map (dev: attrByPath (dev ++ [ "_mount" "dev" ]) "" devices) sortedDeviceList)} # and then mount the filesystems in alphabetical order -- cgit v1.2.3