about summary refs log tree commit diff
path: root/nixos/tests/systemd-machinectl.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/systemd-machinectl.nix')
-rw-r--r--nixos/tests/systemd-machinectl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/systemd-machinectl.nix b/nixos/tests/systemd-machinectl.nix
index 555a8bb43b30..40ea4905ec67 100644
--- a/nixos/tests/systemd-machinectl.nix
+++ b/nixos/tests/systemd-machinectl.nix
@@ -16,7 +16,7 @@ let
 
     imports = [ ../modules/profiles/minimal.nix ];
 
-    system.stateVersion = config.system.nixos.version;
+    system.stateVersion = config.system.nixos.release;
   };
 
   containerSystem = (import ../lib/eval-config.nix {