2015-05-27 15:58:13 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = mkIf (any (fs: fs == "exfat") config.boot.supportedFilesystems) {
|
2021-06-30 14:11:35 +00:00
|
|
|
system.fsPackages = if config.boot.kernelPackages.kernelOlder "5.7" then [
|
|
|
|
pkgs.exfat # FUSE
|
|
|
|
] else [
|
|
|
|
pkgs.exfatprogs # non-FUSE
|
|
|
|
];
|
2015-05-27 15:58:13 +00:00
|
|
|
};
|
|
|
|
}
|