nixos: fix 'do not exist' typos

This commit is contained in:
NAHO
2025-08-16 22:43:21 +02:00
parent 35f1742e4f
commit 6a6e27495b
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Note: LIRC executables raises a warning, if lirc_options.conf do not exists # Note: LIRC executables raises a warning, if lirc_options.conf does not exist
environment.etc."lirc/lirc_options.conf".text = cfg.options; environment.etc."lirc/lirc_options.conf".text = cfg.options;
passthru.lirc.socket = "/run/lirc/lircd"; passthru.lirc.socket = "/run/lirc/lircd";

View File

@@ -137,7 +137,7 @@ let
NIX_DISK_IMAGE=$(readlink -f "''${NIX_DISK_IMAGE:-${toString config.virtualisation.diskImage}}") || test -z "$NIX_DISK_IMAGE" NIX_DISK_IMAGE=$(readlink -f "''${NIX_DISK_IMAGE:-${toString config.virtualisation.diskImage}}") || test -z "$NIX_DISK_IMAGE"
if test -n "$NIX_DISK_IMAGE" && ! test -e "$NIX_DISK_IMAGE"; then if test -n "$NIX_DISK_IMAGE" && ! test -e "$NIX_DISK_IMAGE"; then
echo "Disk image do not exist, creating the virtualisation disk image..." echo "Disk image does not exist, creating the virtualisation disk image..."
${ ${
if (cfg.useBootLoader && cfg.useDefaultFilesystems) then if (cfg.useBootLoader && cfg.useDefaultFilesystems) then

View File

@@ -124,7 +124,7 @@ in
host1.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::2\")) | any'") host1.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::2\")) | any'")
host2.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::1\")) | any'") host2.wait_until_succeeds("ip --json -6 r | jq -e 'map(select(.dst == \"fdff::1\")) | any'")
with subtest("Check fake routes in preCheckConfig do not exists"): with subtest("Check fake routes in preCheckConfig do not exist"):
host1.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'") host1.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'")
host2.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'") host2.fail("ip --json r | jq -e 'map(select(.dst == \"1.2.3.4\")) | any'")

View File

@@ -79,7 +79,7 @@
with subtest( with subtest(
"files created in the hosts container dir in a path where a tmpfs " "files created in the hosts container dir in a path where a tmpfs "
+ "file system has been mounted are not visible to the container as " + "file system has been mounted are not visible to the container as "
+ "the do not exist in the tmpfs" + "they do not exist in the tmpfs"
): ):
machine.succeed( machine.succeed(
"touch /var/lib/nixos-containers/tmpfs/var/test.file", "touch /var/lib/nixos-containers/tmpfs/var/test.file",