NTFS: Difference between revisions

imported>Erikarvstedt
show how to enable ntfs
imported>TheSirC
Add the syntax to enable write on NTFS
Line 5: Line 5:


NixOS uses NTFS-3G for NTFS support.
NixOS uses NTFS-3G for NTFS support.
=== Enable write mode ===
<syntaxHighlight lang=nix>
  fileSystems."/path/to/mount/to" =
    { device = "/path/to/the/device";
      fsType = "ntfs";
      options = [ "rw" "uid=theUidOfYourUser"];
    };
</syntaxHighlight>


== Troubleshooting ==
== Troubleshooting ==