Add bcachefs support. Fix clan flash docu.

This commit is contained in:
Qubasa
2024-05-18 23:18:02 +02:00
parent f9b32cbd09
commit 64a98281f0
5 changed files with 17 additions and 4 deletions

12
nixosModules/bcachefs.nix Normal file
View File

@@ -0,0 +1,12 @@
{ lib, pkgs, ... }:
{
# Enable bcachefs support
boot.supportedFilesystems.zfs = lib.mkForce false;
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
boot.supportedFilesystems.bcachefs = lib.mkDefault true;
environment.systemPackages = with pkgs; [
bcachefs-tools
keyutils
];
}