summaryrefslogtreecommitdiff
path: root/system-profiles/bcachefs.nix
blob: cd2fad6274155874300db91422b0539cc2379645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, lib, ... } : {
  config = {
    boot.supportedFilesystems.bcachefs = true;
    environment.systemPackages = with pkgs; [ bcachefs-tools ];

    boot.kernelPatches = [
      {
        name = "bcachefs-casefold-fix";
        patch = null;
        extraStructuredConfig = with lib.kernel; {
          UNICODE = lib.mkForce no;
        };
      }
    ];
  };
}