58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
13 lines
282 B
Nix
13 lines
282 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = mkIf (any (fs: fs == "exfat") config.boot.supportedFilesystems) {
|
|
system.fsPackages = if config.boot.kernelPackages.kernelOlder "5.7" then [
|
|
pkgs.exfat # FUSE
|
|
] else [
|
|
pkgs.exfatprogs # non-FUSE
|
|
];
|
|
};
|
|
}
|