nixos: add support for exfat filesystem
This commit is contained in:
parent
069913e1b9
commit
7355066bfe
@ -442,6 +442,7 @@
|
||||
./tasks/filesystems.nix
|
||||
./tasks/filesystems/btrfs.nix
|
||||
./tasks/filesystems/cifs.nix
|
||||
./tasks/filesystems/exfat.nix
|
||||
./tasks/filesystems/ext.nix
|
||||
./tasks/filesystems/f2fs.nix
|
||||
./tasks/filesystems/jfs.nix
|
||||
|
11
nixos/modules/tasks/filesystems/exfat.nix
Normal file
11
nixos/modules/tasks/filesystems/exfat.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
config = mkIf (any (fs: fs == "exfat") config.boot.supportedFilesystems) {
|
||||
|
||||
system.fsPackages = [ pkgs.exfat-utils pkgs.fuse_exfat ];
|
||||
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user