NTFS: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 20: | Line 20: | ||
+ }; | + }; | ||
}} | }} | ||
4. Add {{ic|<nowiki>"uid=$UID"</nowiki>}} to {{nixos:option|fileSystems.*.options|fileSystems.<name>.options}} to get write access, where {{ic|<nowiki>$UID</nowiki>}} replaced with your UID: | 4. Add {{ic|<nowiki>"uid=$UID"</nowiki>}} to {{nixos:option|fileSystems.*.options|fileSystems.<name>.options}} to get write access, where {{ic|<nowiki>$UID</nowiki>}} <strong>replaced with your UID</strong>: | ||
{{file|/etc/nixos/configuration.nix|nix|3= | {{file|/etc/nixos/configuration.nix|nix|3= | ||
fileSystems = | fileSystems = | ||
| Line 30: | Line 30: | ||
lib.genAttrs ntfs-drives (path: { | lib.genAttrs ntfs-drives (path: { | ||
options = [ | options = [ | ||
"uid=$UID" | "uid=$UID" # REPLACE "$UID" WITH YOUR ACTUAL UID! | ||
# "nofail" | # "nofail" | ||
]; | ]; | ||