Filesystems: Difference between revisions
imported>Jmarmstrong1207 m Add mount example |
imported>Jmarmstrong1207 m Change link location |
||
| Line 1: | Line 1: | ||
[[category:filesystem]] | [[category:filesystem]] | ||
{{ic|fileSystems}} is a NixOS[[Category:NixOS]] option that allows the user to mount filesystems at specific mount points. The mounted filesystems may also be encrypted. Also see [https://nixos.org/manual/nixos/stable/options.html#opt-fileSystems the fileSystem option documentation]. | {{ic|fileSystems}} is a NixOS[[Category:NixOS]] option that allows the user to mount filesystems at specific mount points. The mounted filesystems may also be encrypted. Also see [https://nixos.org/manual/nixos/stable/options.html#opt-fileSystems the fileSystem option documentation]. | ||
For boot mount options, [https://manpages.ubuntu.com/manpages/noble/en/man8/mount.8.html#filesystem-independent%20mount%20options check here]. | |||
Common example filesystem mount. You can put this in configuration.nix: | Common example filesystem mount. You can put this in configuration.nix: | ||
| Line 8: | Line 10: | ||
fsType = "exfat"; | fsType = "exfat"; | ||
options = [ | options = [ | ||
# boot options for fstab | # boot options for fstab. Search up fstab mount options you can use | ||
users # Allows any user to mount and unmount | users # Allows any user to mount and unmount | ||
]; | ]; | ||