Open savorocks opened 8 years ago
Yes, it seems clear the generator has never supported fuse mounts yet.
triage: are those mounts supported yet? If not, would you like to create a pull request?
Sorry to post on such an old post but I suffer from the same exact issue but in 19.03. Is there a workaround that has been found?
The workaround is to just add them manually: https://nixos.org/nixos/manual/options.html#opt-fileSystems I had problems mounting a fuse drive one time but I managed to solve it here: https://github.com/NixOS/nixpkgs/issues/46529
This issue is just about nixos-generate-config
to detect them automatically and add them to your config before you install NixOS.
I had problems mounting a fuse drive one time but I managed to solve it here: #46529
Thanks a lot for the reference, I will take a look to implement it on my system.
This issue is just about
nixos-generate-config
to detect them automatically and add them to your config before you install NixOS.
Rodger that, would there be a way to contribute into that sense ? Is there a following issue (maybe this one then?) on the feature ? What would be the steps for me to implement it and contribute back ?
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
This issue is just about nixos-generate-config to detect them automatically and add them to your config before you install NixOS.
Rodger that, would there be a way to contribute into that sense ? Is there a following issue (maybe this one then?) on the feature ? What would be the steps for me to implement it and contribute back ?
Yeah, you can implement that here: https://github.com/NixOS/nixpkgs/blob/c3a05f90ed4a6c601c94f3bf0f14933c8f965d61/nixos/modules/installer/tools/nixos-generate-config.pl#L349 https://github.com/NixOS/nixpkgs/blob/c3a05f90ed4a6c601c94f3bf0f14933c8f965d61/nixos/modules/installer/tools/nixos-generate-config.pl#L406
I marked this as stale due to inactivity. → More info
Issue description
I successfully mounted my windows partitions (NTFS) following the steps i described below. However, when I try to generate config, to have my drives automatically mounted when I reboot, i get following error/warning (for each drive): warning: don't know how to emit ‘fileSystem’ option for FUSE filesystem ‘/mnt/nameofmydrive’
Steps to reproduce
$ mount /dev/sdn5
/mnt/windows-partition`nixos-generate-config
. It will update /etc/nixos/hardware-configuration.nix to match the new partition configuration (and configuration.nix stays untouched, unless you use the --force option).P.S. I have ntfs-3g installed on my system.
Technical details