diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix index 362f6ff32b10..d6d08f232738 100644 --- a/nixos/modules/tasks/filesystems/bcachefs.nix +++ b/nixos/modules/tasks/filesystems/bcachefs.nix @@ -242,8 +242,8 @@ in } ]; - # Bcachefs upstream recommends using the latest kernel - boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; + # Use LTS that bcachefs is compatible with. + boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_6_18; # needed for systemd-remount-fs system.fsPackages = [ cfg.package ];