about summary refs log tree commit diff
path: root/modules/profiles/tests.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/tests.nix')
-rw-r--r--modules/profiles/tests.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/profiles/tests.nix b/modules/profiles/tests.nix
index f258e67f..f2660663 100644
--- a/modules/profiles/tests.nix
+++ b/modules/profiles/tests.nix
@@ -106,7 +106,8 @@ let
            || proxy.enable;
       path  = ["nixos" "kubernetes"];
     }
-    { check = config.boot.kernelPackages == pkgs.linuxPackages_latest;
+    { check = config.boot.kernelPackages.kernel.version
+           == pkgs.linuxPackages_latest.kernel.version;
       path  = ["nixos" "latestKernel" "login"];
     }
     { check = true;