Samba: Difference between revisions
imported>Mic92 printer sharing example |
imported>Wucke13 Added way to enable PCManFM to browse samba shares |
||
| Line 29: | Line 29: | ||
password=<PASSWORD> | password=<PASSWORD> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Browsing samba shares with PCManFM == | |||
=== excerpt of /etc/nixos/configuration.nix === | |||
<syntaxhighlight lang="nix"> | |||
environment.systemPackages = with pkgs; [ lxqt.lxqt-policykit ]; # provides a default authentification client for policykit | |||
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ]; # lets PCManFM discover gvfs modules | |||
services.gnome3.gvfs.enable = true; # enables gvfs | |||
</syntaxhighlight> | |||
Furthermore, if you happen to start your Window Manager via ''xinitrc'', edit it accordingly: | |||
<syntaxhighlight lang="bash"> | |||
export `dbus-launch` # starts dbus and exports its address | |||
exec xterm # your prefered Window Manager | |||
</syntaxhighlight> | |||
You need to restart your Window Manager to have the changes in ''.xinitrc'' to take place. | |||
== Samba Server == | == Samba Server == | ||