about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorFlorian Klink2023-03-07 13:28:33 +0100
committerFlorian Klink2023-03-07 13:29:19 +0100
commit5566961d2e43a688b0892fafe6c0f65aea1bf6b5 (patch)
treec4e6843567bf55d25a6ad75d2c17a77e691280af /nixos/tests
parent27eab436bd6c9bb50bf48e9c4587bdf135ec3fdd (diff)
nixosTests.hostname: stop using deprecated nodes.machine.config
Module argument `nodes.machine.config` is deprecated.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/hostname.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hostname.nix b/nixos/tests/hostname.nix
index 27265d195626..6122e2ffeb83 100644
--- a/nixos/tests/hostname.nix
+++ b/nixos/tests/hostname.nix
@@ -37,7 +37,7 @@ let
         machine.wait_for_unit("network-online.target")
 
         # Test if NixOS computes the correct FQDN (either a FQDN or an error/null):
-        assert "${getStr nodes.machine.config.networking.fqdn}" == "${getStr fqdnOrNull}"
+        assert "${getStr nodes.machine.networking.fqdn}" == "${getStr fqdnOrNull}"
 
         # The FQDN, domain name, and hostname detection should work as expected:
         assert "${fqdn}" == machine.succeed("hostname --fqdn").strip()