Open benrob0329 opened 7 years ago
This is apparently intentionally because "samba is a rather heavy dependency", see here in the code.
Workaround using packageOverrides which fixes the problem for me:
nixpkgs.config.packageOverrides = pkgs: {
xfce = pkgs.xfce // {
gvfs = pkgs.gvfs;
};
};
/cc @vcunat
Well, I can't see anything actionable about this. Can you?
@vcunat I would propose to not turn off SMB by default "just because Xfce is supposed to be lightweight", especially with no mention of this in the manual and no instruction how to get it back. Why can other desktops have it by default but not Xfce? What do you think about a configuration option in the xfce module options to enable/disable smb?
When I look at gvfs
closures themselves, the difference is ~180 MB; with a whole system it might be much less, I don't know. I'm certainly not against such options.
BTW, Thunar won't even get rebuilt, as this is all through GIO plugins specified by the nixos module in an environment variable. Perhaps we should factor this out into a specific "pseudo-service" where you can specify what gvfs plugins you want (and DEs will imply some defaults).
OK, I will try to implement an option, SMB can still be off by default.
@ambrop72 the workaround don't work for me. I can't even mount it manually! (works with other Linux)
[davidak@X230:~]$ gvfs-mount smb://10.0.0.4/Archiv </home/davidak/.smbcreds
Error mounting location: Location is not mountable
I'm still having this issue as of 20.03. Did any of you found a fix?
It may be reasonable to define samba support in gvfs
based on the value of config.services.samba.enable
in the module config.services.gvfs
.
Hello, I'm a bot and I thank you in the name of the community for opening this issue.
To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.
The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.
Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.
Still an issue.
Doing:
services.gvfs.enable
Fixes the problem.
Issue description
I have samba, gvfs, fuse, and fusesmb enabled/loaded/installed. However, Thunar does not show anything on the network.
Steps to reproduce
Go into Thunar, click network. Mouse busy (background) cursor will appear, but nothing will happen.
Technical details