nixos: add support for exfat filesystem

This commit is contained in:
Nikolay Amiantov 2015-05-27 18:58:13 +03:00
parent 069913e1b9
commit 7355066bfe
2 changed files with 12 additions and 0 deletions

View File

@ -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

View 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 ];
};
}