nixpkgs/nixos/modules/tasks/filesystems/ntfs.nix
Eelco Dolstra d4d6b8cc61 Grmbl
2015-04-20 14:24:42 +02:00

12 lines
187 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = mkIf (any (fs: fs == "ntfs" || fs == "ntfs-3g") config.boot.supportedFilesystems) {
system.fsPackages = [ pkgs.ntfs3g ];
};
}