Skip to content

Commit

Permalink
nixos/profiles/base: support bcachefs
Browse files Browse the repository at this point in the history
  • Loading branch information
MakiseKurisu committed Dec 3, 2024
1 parent 055d17f commit 685e9b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- The default PHP version has been updated to 8.3.

- `bcachefs` is now enabled in the installation media with a suitable kernel.

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

## New Modules {#sec-release-25.05-new-modules}
Expand Down
4 changes: 4 additions & 0 deletions nixos/modules/profiles/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
# Include support for various filesystems and tools to create / manipulate them.
boot.supportedFilesystems =
[ "btrfs" "cifs" "f2fs" "ntfs" "vfat" "xfs" ] ++
# FIXME: Change the test condition to
# config.boot.kernelPackages.kernel.kernelAtLeast "6.7"
# when bcachefs module no longer defaults to latest kernel
lib.optional (config.boot.kernelPackages == pkgs.linuxPackages_latest) "bcachefs" ++
lib.optional (lib.meta.availableOn pkgs.stdenv.hostPlatform config.boot.zfs.package) "zfs";

# Configure host id for ZFS to work
Expand Down

0 comments on commit 685e9b1

Please sign in to comment.