depot/third_party/nixpkgs/nixos/modules/tasks/filesystems/exfat.nix

14 lines
273 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = mkIf (config.boot.supportedFilesystems.exfat or false) {
system.fsPackages = if config.boot.kernelPackages.kernelOlder "5.7" then [
pkgs.exfat # FUSE
] else [
pkgs.exfatprogs # non-FUSE
];
};
}