2020-04-24 23:36:52 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2024-02-29 20:09:43 +00:00
|
|
|
config = mkIf (config.boot.supportedFilesystems.exfat or false) {
|
2021-08-27 14:25:00 +00:00
|
|
|
system.fsPackages = if config.boot.kernelPackages.kernelOlder "5.7" then [
|
|
|
|
pkgs.exfat # FUSE
|
|
|
|
] else [
|
|
|
|
pkgs.exfatprogs # non-FUSE
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|