diff --git a/hosts/alice/system.nix b/hosts/alice/system.nix index 4d99d5b..ffaabb3 100644 --- a/hosts/alice/system.nix +++ b/hosts/alice/system.nix @@ -16,7 +16,7 @@ boot = { supportedFilesystems = ["bcachefs"]; - kernelPackages = pkgs.linuxPackages_6_7; # TODO: remove when default kernel hits 6.7 + kernelPackages = pkgs.linuxPackages_6_7; loader = { systemd-boot.enable = true; @@ -50,4 +50,11 @@ experimental-features = nix-command flakes ''; }; + + assertions = [ + { + assertion = -1 == builtins.compareVersions pkgs.linuxPackages.kernel.version "6.7.3"; + message = "default kernel has hit 6.7, change linuxPackages to default"; + } + ]; }