Filesystems: Difference between revisions
m →SSD TRIM support: don't mention filesystem specific mount options |
m use {{file}} template for configuration.nix |
||
| Line 5: | Line 5: | ||
Common example filesystem mount. You can put this in configuration.nix: | Common example filesystem mount. You can put this in configuration.nix: | ||
{{file|configuration.nix|nix|3= | |||
fileSystems."/mnt/exampleDrive" = { | |||
device = "/dev/disk/by-uuid/4f999afe-6114-4531-ba37-4bf4a00efd9e"; | |||
fsType = "exfat"; | |||
options = [ # If you don't have this options attribute, it'll default to "defaults" | |||
# boot options for fstab. Search up fstab mount options you can use | |||
"users" # Allows any user to mount and unmount | |||
"nofail" # Prevent system from failing if this drive doesn't mount | |||
"exec" # Permit execution of binaries and other executable files | |||
]; | |||
}; | |||
}} | |||
== Making disk visible in your file explorer == | == Making disk visible in your file explorer == | ||